Variable ICONV_DEPENDS is specified in nls.mk which can be found in
OpenWrt main repository.
This fixes issue:
/foo/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-8.4.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -liconv
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Since commit d18692c libxml2 is linked against iconv. Now libiio needs
access to iconv as well. Without it the build fails.
[ 32%] Building C object CMakeFiles/iio.dir/lock.c.o
[ 34%] Building C object CMakeFiles/iio.dir/iiod-client.c.o
[ 37%] Linking C shared library libiio.so
/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: cannot find -liconv
collect2: error: ld returned 1 exit status
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Since commit d18692c libxml2 (and by extension libxslt) is linked against
iconv. Now icecast needs access to iconv as well. Without it the build fails.
xslt.c: In function 'xsltSaveResultToString':
xslt.c:72:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (result->children == NULL)
^~
xslt.c:75:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
buf = xmlAllocOutputBuffer(NULL);
^~~
xslt.c:81:27: error: dereferencing pointer to incomplete type 'xmlBuf' {aka 'struct _xmlBuf'}
*doc_txt_len = buf->conv->use;
^~
make[6]: *** [Makefile:545: xslt.o] Error 1
make[6]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/icecast-2.4.4/src'
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Since commit d18692c libxml2 is linked against iconv. Now ices needs
access to iconv as well. Without it the build fails.
checking for ftime... yes
checking for XML configuration
checking for xml2-config... /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/host/bin/xml2-config
checking for xmlParseFile... no
configure: error: Unable to link with libxml
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Since commit d18692c libxml2 is linked against iconv. Now libxslt needs
access to iconv as well. Without it the build fails.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
The SVN-based version has not changed in years. Many distros use this
fork as evident here: https://github.com/streambinder/vpnc/issues/14
Compile tested against GnuTLS and OpenSSL on ramips target.
Fixes#14119.
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>