From: Josef Schlehofer Date: Mon, 15 Feb 2021 15:53:25 +0000 (+0100) Subject: klish: add include for nls when BUILD_NLS is enabled X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F14756%2Fhead;p=feed%2Fpackages.git klish: add include for nls when BUILD_NLS is enabled In recent commit for libxml2 [1], there was enabled support for iconv, but it relieves issue with klish that it does not compile as it fails with following output: checking for xmlNewDoc in -lxml2... no configure: error: cannot find libxml2 library make[2]: *** [Makefile:73: /foo/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/klish-2.2.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1 make[2]: Leaving directory '/foo/build/feeds/packages/utils/klish' [1] https://github.com/openwrt/packages/commit/d18692c92638cdc1e643554699cb21e893abf2e9 Suggested-by: Rosen Penev Signed-off-by: Josef Schlehofer --- diff --git a/utils/klish/Makefile b/utils/klish/Makefile index 17e813375a..dd77ffd4d6 100644 --- a/utils/klish/Makefile +++ b/utils/klish/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=klish PKG_VERSION:=2.2.0 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://libcode.org/attachments/download/77/ @@ -24,6 +24,7 @@ PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk define Package/klish/default SECTION:=utils