From 62461731d77cb739238449777d42711cf8d9478a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 21 Nov 2022 17:02:31 -0800 Subject: [PATCH] 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 --- include/nls.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nls.mk b/include/nls.mk index 90fc27660..f054d2bb6 100644 --- a/include/nls.mk +++ b/include/nls.mk @@ -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:=