From d6e14d8beebb5c9571bded30df6568570f0c2a54 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 21 Feb 2006 19:11:35 +0000 Subject: Don't build directory libraries unless we're building an applet that needs it. Cherry-picked from Devin Bayer's big MacOS X patch. --- findutils/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'findutils') diff --git a/findutils/Makefile.in b/findutils/Makefile.in index e43260da4..25a2d38d3 100644 --- a/findutils/Makefile.in +++ b/findutils/Makefile.in @@ -15,7 +15,9 @@ FINDUTILS-$(CONFIG_FIND) += find.o FINDUTILS-$(CONFIG_GREP) += grep.o FINDUTILS-$(CONFIG_XARGS) += xargs.o +ifneq ($(strip $(FINDUTILS-y)),) libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR) +endif FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y)) FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) -- cgit v1.2.3