OSDN Git Service

test/dlopen: fix build for libtest.so
authorAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 01:20:11 +0000 (17:20 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 01:23:24 +0000 (17:23 -0800)
needs -lpthread, recent addition of -z,defs and -z,now exposed this

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
test/dlopen/Makefile.in

index 69f4937..5d4d2fb 100644 (file)
@@ -33,6 +33,7 @@ test1: libtest1.so
 test2: libtest1.so libtest2.so
 test3: libtest1.so libtest2.so
 libtest1.so: libtest2.so
+LDFLAGS_libtest.so := -lpthread
 LDFLAGS_libtest1.so := ./libtest2.so -Wl,-rpath,.
 LDFLAGS_libtest2.so := -Wl,-rpath,.
 LDFLAGS_libtest3.so := -lpthread -Wl,-rpath,.