summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/dlopen/Makefile5
-rw-r--r--test/dlopen/Makefile.in5
2 files changed, 5 insertions, 5 deletions
diff --git a/test/dlopen/Makefile b/test/dlopen/Makefile
index 92d14b90e..ef15d861d 100644
--- a/test/dlopen/Makefile
+++ b/test/dlopen/Makefile
@@ -4,9 +4,4 @@
top_builddir=../../
include ../Rules.mak
-include Makefile.in
-ifneq ($(HAVE_SHARED),y)
-TESTS_DISABLED := test3
-LDFLAGS_libtest.so := -lpthread
-endif
-
include ../Test.mak
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\""