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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44930 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
b9d87db64f
commit
fd0fbff63d
|
@ -67,7 +67,11 @@ ifneq ($(strip $(PKG_UNPACK)),)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)
|
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_PREFIX:=/usr
|
||||||
CONFIGURE_ARGS = \
|
CONFIGURE_ARGS = \
|
||||||
|
|
Loading…
Reference in New Issue