klish: add include for nls when BUILD_NLS is enabled
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 15 Feb 2021 15:53:25 +0000 (16:53 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 15 Feb 2021 21:29:08 +0000 (22:29 +0100)
commitb5028ca6e328229da982e3342c2e847a4b17f302
treeeeef5de6e7ca84d4e18a927df3cba563f374d241
parent495cdbb39d0b5c332c57aab8011541842d163cd2
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 <rosenp@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
utils/klish/Makefile