From: John Crispin Date: Sat, 21 Mar 2015 21:48:18 +0000 (+0000) Subject: package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLS X-Git-Tag: reboot~3806 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4f44df6fd8f2c404fd5b1534257a7a8c85eb96f5;p=openwrt%2Fstaging%2Fblogic.git package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLS set DISABLE_NLS only if CONFIG_BUILD_NLS NOT set. like DISABLE_IPV6 which depends on CONFIG_IPV6 Signed-off-by: Christian Schoenebeck SVN-Revision: 44930 --- diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 9567e04a7a0c..e37ab88a310d 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -67,7 +67,11 @@ ifneq ($(strip $(PKG_UNPACK)),) endif EXTRA_CXXFLAGS = $(EXTRA_CFLAGS) -DISABLE_NLS:=--disable-nls +ifeq ($(CONFIG_BUILD_NLS),y) + DISABLE_NLS:= +else + DISABLE_NLS:=--disable-nls +endif CONFIGURE_PREFIX:=/usr CONFIGURE_ARGS = \