asterisk-13.x: fix iconv related build issue
authorSebastian Kemper <sebastian_ml@gmx.net>
Thu, 12 Jul 2018 21:11:03 +0000 (23:11 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Thu, 12 Jul 2018 21:13:27 +0000 (23:13 +0200)
commit166a1d9f0b0587415fa87591dad045be664e7456
tree73a1535cd2ba3f2927ed4d03a82e6fa1e47f948a
parent74070844069de3317fa29c9ef50799459cf71897
asterisk-13.x: fix iconv related build issue

libmariadb 10.2 needs to be linked in together with iconv. Include nls.mk
to help the build system find the iconv library.

Also update func_iconv's depend. We want to use the variable
$(ICONV_DEPENDS) provided by nls.mk. It resolves to
+BUILD_NLS:libiconv-full. This cannot be handled properly right now, as the
module depends filter cannot handle +<SYMBOL>:<package> depends. So add
another field to the Makefile's module function for complex depends, which
are passed on unfiltered.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-13.x/Makefile