From e5657ed358ddb5956171df3144e4e698205de1b4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 5 Jul 2006 19:04:29 +0000 Subject: add some more rpaths to keep the tests happy --- test/dlopen/Makefile | 7 ++++--- 1 file 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,. -- cgit v1.2.3