openwrt / telephony

The telephony packages feed
105 stars 246 forks source link

asterisk-chan-dongle: adapt BUILD_NLS handling #775

Closed micmac1 closed 2 years ago

micmac1 commented 2 years ago

openwrt recently stopped using libiconv-stub in the BUILD_NLS=n case. Instead the libc's iconv has to be used.

This commit changes the iconv include path passed to asterisk-chan-dongle for the BUILD_NLS=n case to $(TOOLCHAIN_DIR)/include. That's where musl and glibc store iconv.h.

Also, the patch 200-fix-iconv-detection.patch gets replaced with a sed script that only runs in the BUILD_NLS=y case.

And finally, $(AUTORELEASE) is added.

Signed-off-by: Sebastian Kemper sebastian_ml@gmx.net

Maintainer: @jslachta Compile tested: ath79 master SDK Run tested: N/A

Description: fix build errors in asterisk-chan-dongle due to recent removal of libiconv-stub from openwrt

jslachta commented 2 years ago

Thank you!