summaryrefslogtreecommitdiff
path: root/test/dlopen/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/dlopen/Makefile.in')
-rw-r--r--test/dlopen/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dlopen/Makefile.in b/test/dlopen/Makefile.in
index 9b4af35e4..85996def4 100644
--- a/test/dlopen/Makefile.in
+++ b/test/dlopen/Makefile.in
@@ -7,6 +7,11 @@ export UCLIBC_ONLY := 1
TESTS := dltest dltest2 dlstatic test1 test2 test3 dlundef dlafk dladdr \
testscope
+ifneq ($(HAVE_SHARED),y)
+TESTS_DISABLED := test3
+LDFLAGS_libtest.so := -lpthread
+endif
+
CFLAGS_dltest := -DLIBNAME="\"./libtest.so\""
CFLAGS_dltest2 := -DLIBNAME="\"./libtest3.so\""