summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c48a46181..0f5cde117 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,10 @@
TOPDIR=./
include Rules.mak
-DIRS = extra libc libcrypt libresolv libutil libm
+ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
+ LDSO_DIR = ldso
+endif
+DIRS = extra $(LDSO_DIR) libc libcrypt libresolv libutil libm
ifndef $(TARGET_PREFIX)
TARGET_PREFIX = `pwd`/_install