mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 23:23:31 +00:00
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 <christian.schoenebeck@gmail.com> SVN-Revision: 44930
This commit is contained in:
parent
f9f7c80cd2
commit
4f44df6fd8
@ -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 = \
|
||||
|
Loading…
Reference in New Issue
Block a user