From 0875bc85bbe33d542e9045e931d223812c3eca44 Mon Sep 17 00:00:00 2001 From: Daniel Laird Date: Tue, 13 Jan 2009 10:26:28 +0000 Subject: package/alsa-lib/alsa-lib.mk package/gettext/gettext.mk: Both of these components look for iconv when configuring so need to be dependent. Both of these packages can be built with libiconv support. If libiconv is enabled and these are built first then some configure variables get stored in the system cache and then libiconv is not used properly. If libiconv is selected by user make sure it is built before either of these packages are built. Signed-off-by: Daniel Laird --- package/gettext/gettext.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/gettext') diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 2232d64bc..dd7f75a3a 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -120,7 +120,7 @@ $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY): $(GETTEXT_DIR)/$(GETTEXT_BINARY) autopoint envsubst gettext.sh gettextize msg* ?gettext) touch -c $@ -gettext: uclibc pkgconfig $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) +gettext: uclibc pkgconfig $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) gettext-unpacked: $(GETTEXT_DIR)/.unpacked -- cgit v1.2.3