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 b1d70a836..6a02cfb84 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,10 @@
TOPDIR=./
include Rules.mak
-DIRS = extra ldso libc libcrypt libutil libm
+ifeq ($(DO_SHARED),shared)
+ LDSO_DIR = ldso
+endif
+DIRS = extra $(LDSO_DIR) libc libcrypt libutil libm
all: headers uClibc_config.h subdirs $(DO_SHARED) done