diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-21 19:11:35 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-21 19:11:35 +0000 |
commit | 71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb (patch) | |
tree | 69cc156c0b3d3a8972e03dfd73108c159bf0be11 /coreutils | |
parent | 42ad3e4912abbd0d5ef2f6fdb52cf41fc009c86b (diff) | |
download | busybox-w32-71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb.tar.gz busybox-w32-71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb.tar.bz2 busybox-w32-71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb.zip |
Don't build directory libraries unless we're building an applet that needs it.
Cherry-picked from Devin Bayer's big MacOS X patch.
git-svn-id: svn://busybox.net/trunk/busybox@14165 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/Makefile.in b/coreutils/Makefile.in index 4e7b7bd20..2ab256c15 100644 --- a/coreutils/Makefile.in +++ b/coreutils/Makefile.in | |||
@@ -82,7 +82,11 @@ COREUTILS-$(CONFIG_WHOAMI) += whoami.o | |||
82 | COREUTILS-$(CONFIG_YES) += yes.o | 82 | COREUTILS-$(CONFIG_YES) += yes.o |
83 | 83 | ||
84 | COREUTILS-y:=$(sort $(COREUTILS-y)) | 84 | COREUTILS-y:=$(sort $(COREUTILS-y)) |
85 | |||
86 | ifneq ($(strip $(COREUTILS-y)),) | ||
85 | libraries-y+=$(COREUTILS_DIR)$(COREUTILS_AR) | 87 | libraries-y+=$(COREUTILS_DIR)$(COREUTILS_AR) |
88 | endif | ||
89 | |||
86 | COREUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(COREUTILS-y)) | 90 | COREUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(COREUTILS-y)) |
87 | COREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) | 91 | COREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) |
88 | APPLET_SRC-y+=$(COREUTILS_SRC-y) | 92 | APPLET_SRC-y+=$(COREUTILS_SRC-y) |