asterisk-15.x: fix iconv related build issue 346/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Thu, 12 Jul 2018 21:21:30 +0000 (23:21 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Thu, 12 Jul 2018 21:21:41 +0000 (23:21 +0200)
commitb12a8bf62c2cddfd7b11cb08c8721170c8307765
tree7420806b247ee8146a6acaaf867c864df3748867
parent166a1d9f0b0587415fa87591dad045be664e7456
asterisk-15.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-15.x/Makefile