diff options
Diffstat (limited to 'meta/recipes-support/nspr/files/remove-rpath-from-tests.patch')
| -rw-r--r-- | meta/recipes-support/nspr/files/remove-rpath-from-tests.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch new file mode 100644 index 0000000000..a7e7853de1 --- /dev/null +++ b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | Author: Andrei Gherzan <andrei@gherzan.ro> | ||
| 2 | Date: Thu Feb 9 00:03:38 2012 +0200 | ||
| 3 | |||
| 4 | Avoid QA warnings by removing hardcoded rpath from binaries. | ||
| 5 | |||
| 6 | [...] | ||
| 7 | WARNING: 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 | ||
| 8 | in file {builddir}/tmp/work/armv5te-poky-linux-gnueabi/nspr-4.8.9-r1/packages-split/nspr/usr/lib/nspr/tests/multiwait | ||
| 9 | [...] | ||
| 10 | |||
| 11 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | ||
| 12 | Upstream-Status: Pending | ||
| 13 | |||
| 14 | Index: nspr-4.8.9/mozilla/nsprpub/pr/tests/Makefile.in | ||
| 15 | =================================================================== | ||
| 16 | --- nsprpub.orig/pr/tests/Makefile.in 2012-02-11 00:01:10.476220505 +0200 | ||
| 17 | +++ nsprpub/pr/tests/Makefile.in 2012-02-10 23:57:40.000000000 +0200 | ||
| 18 | @@ -379,7 +379,7 @@ | ||
| 19 | endif | ||
| 20 | |||
| 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 | ||
