From: Hans-Christian Egtvedt Date: Wed, 5 Nov 2008 08:09:30 +0000 (-0000) Subject: make: select gettext and libintl if locale is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32cca543841941e8569679319c5f5165a179a7b9;p=buildroot.git make: select gettext and libintl if locale is enabled This patch makes sure gettext and libintl are selected if locale support is enabled. Gettext must also be compiled before make so appropriate headers are available to make. Signed-off-by: Hans-Christian Egtvedt --- diff --git a/package/make/Config.in b/package/make/Config.in index 7dc19c52e8..52640058ea 100644 --- a/package/make/Config.in +++ b/package/make/Config.in @@ -1,5 +1,7 @@ config BR2_PACKAGE_MAKE bool "make" + select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE + select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE help A tool which controls the generation of executables and other non-source files of a program from the program's source files. diff --git a/package/make/make.mk b/package/make/make.mk index 4f11f504d2..4cc5e1597a 100644 --- a/package/make/make.mk +++ b/package/make/make.mk @@ -71,5 +71,5 @@ make-dirclean: # ############################################################# ifeq ($(strip $(BR2_PACKAGE_MAKE)),y) -TARGETS+=make +TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make endif