summaryrefslogtreecommitdiff
path: root/test/dlopen
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-05 19:04:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-05 19:04:29 +0000
commite5657ed358ddb5956171df3144e4e698205de1b4 (patch)
tree8a94b1c150189465accc3770b9e42f97678a7c5a /test/dlopen
parent73c811263c067c4cb767cdd2b15e66e993880e5e (diff)
add some more rpaths to keep the tests happy
Diffstat (limited to 'test/dlopen')
-rw-r--r--test/dlopen/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/dlopen/Makefile b/test/dlopen/Makefile
index ab401801c..8c6032238 100644
--- a/test/dlopen/Makefile
+++ b/test/dlopen/Makefile
@@ -15,7 +15,7 @@ LDFLAGS_dltest := -ldl -lpthread
LDFLAGS_dltest2 := -ldl -lpthread
LDFLAGS_test1 := -ldl
LDFLAGS_test2 := -ldl
-LDFLAGS_test3 := -ldl ./libtest1.so ./libtest2.so
+LDFLAGS_test3 := -ldl ./libtest1.so ./libtest2.so -Wl,-rpath,.
DEBUG_LIBS := X
WRAPPER := env $(DEBUG_LIBS)=all LD_LIBRARY_PATH="$$PWD:.:$(LD_LIBRARY_PATH)"
@@ -26,5 +26,6 @@ test1: libtest1.so
test2: libtest1.so libtest2.so
test3: libtest1.so libtest2.so
libtest1.so: libtest2.so
-LDFLAGS_libtest1.so := ./libtest2.so
-LDFLAGS_libtest3.so := -lpthread
+LDFLAGS_libtest1.so := ./libtest2.so -Wl,-rpath,.
+LDFLAGS_libtest2.so := -Wl,-rpath,.
+LDFLAGS_libtest3.so := -lpthread -Wl,-rpath,.