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. --- editors/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editors') diff --git a/editors/Makefile.in b/editors/Makefile.in index 83e13921e..805017dcc 100644 --- a/editors/Makefile.in +++ b/editors/Makefile.in @@ -16,7 +16,9 @@ EDITOR-$(CONFIG_PATCH) += patch.o EDITOR-$(CONFIG_SED) += sed.o EDITOR-$(CONFIG_VI) += vi.o +ifneq ($(strip $(EDITOR-y)),) libraries-y+=$(EDITOR_DIR)$(EDITOR_AR) +endif EDITOR_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(EDITOR-y)) EDITOR_SRC-a:=$(wildcard $(srcdir)/*.c) -- cgit v1.2.3