From 3c28ac08814b8640ccf1584b9c24e7adfed65cee Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 6 Feb 2007 18:17:08 +0000 Subject: Fix building of gettext/libintl when using an external toolchain. --- package/gettext/gettext.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/gettext') diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index c9b6fb922..d3f331c5c 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -21,6 +21,10 @@ $(GETTEXT_DIR)/.unpacked: $(DL_DIR)/$(GETTEXT_SOURCE) toolchain/patch-kernel.sh $(GETTEXT_DIR) package/gettext/ gettext\*.patch touch $(GETTEXT_DIR)/.unpacked +ifeq ($(strip $(BR2_TOOLCHAIN_EXTERNAL)),y) +IGNORE_EXTERNAL_GETTEXT:=--with-included-gettext +endif + $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked (cd $(GETTEXT_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ @@ -95,6 +99,7 @@ $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked --mandir=/usr/man \ --infodir=/usr/info \ --disable-libasprintf \ + $(IGNORE_EXTERNAL_GETTEXT) \ ); touch $(GETTEXT_DIR)/.configured -- cgit v1.2.3