mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
nls.mk: fixup cmake packages
Instead of manually overriding every cmake package that uses iconv or gettext's paths, add the prefix in here so that at least FindIconv.cmake works. Fixes compilation with BUILD_NLS. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
6bac7bbf46
commit
2cb48f58c2
@ -10,6 +10,7 @@ ifeq ($(CONFIG_BUILD_NLS),y)
|
||||
INTL_PREFIX:=$(STAGING_DIR)/usr/lib/libintl-full
|
||||
INTL_FULL:=1
|
||||
|
||||
CMAKE_OPTIONS += -DCMAKE_PREFIX_PATH="$(ICONV_PREFIX);$(INTL_PREFIX)"
|
||||
else
|
||||
ICONV_PREFIX:=
|
||||
ICONV_FULL:=
|
||||
|
Loading…
Reference in New Issue
Block a user