summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'test/Rules.mak')
-rw-r--r--test/Rules.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 33a0e6f5f..a12ba3be6 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -6,6 +6,7 @@
#Note: This does not read the top level Rules.mak file
#
+include $(TESTDIR)../Config
include $(TESTDIR)Config
@@ -47,7 +48,9 @@ endif
ifneq ($(DODYNAMIC),true)
LDFLAGS +=--static
endif
+ifeq ($(strip $(HAVE_SHARED)),true)
ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true)
CFLAGS+=--uclibc-use-build-dir
LDFLAGS+=--uclibc-use-build-dir
endif
+endif