summaryrefslogtreecommitdiff
path: root/package/gettext
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-06 18:17:08 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-02-06 18:17:08 +0000
commit3c28ac08814b8640ccf1584b9c24e7adfed65cee (patch)
tree94d1f0ad351d1c3f81b24d741eddda648261d959 /package/gettext
parent821eb62d994cf0dc53d278bca63d6c66e038a065 (diff)
Fix building of gettext/libintl when using an external toolchain.
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/gettext.mk5
1 files changed, 5 insertions, 0 deletions
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