summaryrefslogtreecommitdiffstats
path: root/test/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'test/Rules.mak')
-rw-r--r--test/Rules.mak6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 20000cc35..8f3167c71 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -10,6 +10,10 @@ TESTDIR=$(TOPDIR)test/
-include $(TOPDIR).config
+ifndef UCLIBC_LDSO
+UCLIBC_LDSO := ld-uClibc.so.0
+endif
+
#--------------------------------------------------------
# Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
LC_ALL:= C
@@ -95,5 +99,5 @@ ifneq ($(strip $(HAVE_SHARED)),y)
LDFLAGS += -static
GLIBC_LDFLAGS += -static
else
- LDFLAGS += -Wl,-dynamic-linker,$(TOPDIR)lib/ld-uClibc.so.0
+ LDFLAGS += -Wl,-dynamic-linker,$(TOPDIR)lib/$(UCLIBC_LDSO)
endif