blob: 7ba59ed6444370ace67bf58094cf5ca854bb9513 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Author: Andrei Gherzan <andrei@gherzan.ro>
2Date: Thu Feb 9 00:03:38 2012 +0200
3
4Avoid QA warnings by removing hardcoded rpath from binaries.
5
6[...]
7WARNING: QA Issue: package nspr contains bad RPATH {builddir}/tmp/work/armv5te-poky-linux-gnueabi/nspr-4.8.9-r1/nspr-4.8.9/mozilla/nsprpub/pr/tests/../../dist/lib
8in file {builddir}/tmp/work/armv5te-poky-linux-gnueabi/nspr-4.8.9-r1/packages-split/nspr/usr/lib/nspr/tests/multiwait
9[...]
10
11Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
12Upstream-Status: Pending
13
Brad Bishop316dfdd2018-06-25 12:45:53 -040014Index: nspr/pr/tests/Makefile.in
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015===================================================================
Brad Bishop316dfdd2018-06-25 12:45:53 -040016--- nspr.orig/pr/tests/Makefile.in
17+++ nspr/pr/tests/Makefile.in
Brad Bishop19323692019-04-05 15:28:33 -040018@@ -316,7 +316,7 @@ ifeq ($(OS_ARCH), SunOS)
Brad Bishop316dfdd2018-06-25 12:45:53 -040019 endif # SunOS
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
21 ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH)))
22- LDOPTS += -Xlinker -rpath $(ABSOLUTE_LIB_DIR)
23+ LDOPTS += -Xlinker
24 ifeq ($(USE_PTHREADS),1)
25 EXTRA_LIBS = -lpthread
26 endif