yate: fix mod-mysqldb compile
authorSebastian Kemper <sebastian_ml@gmx.net>
Thu, 12 Jul 2018 20:19:02 +0000 (22:19 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Thu, 12 Jul 2018 20:22:20 +0000 (22:22 +0200)
Since libmariadb 10.2.x requires to be linked in together with iconv,
include nls.mk to help the build system find it.

Also fix a type in PKG_CONFIG_DEPENDS.

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

index 86c2e91b0dd6b5f54561632919c82a34d9d99828..97aad061505c2ce48d624b1c8061300702974574 100644 (file)
@@ -33,7 +33,7 @@ PKG_CONFIG_DEPENDS:= \
        CONFIG_PACKAGE_$(PKG_NAME)-mod-ilbcwebrtc \
        CONFIG_PACKAGE_$(PKG_NAME)-mod-isaccodec \
        CONFIG_PACKAGE_$(PKG_NAME)-mod-pgsqldb \
-       CONFIG_PACKAGE_$(PKG_NAME)-mod-mysqld \
+       CONFIG_PACKAGE_$(PKG_NAME)-mod-mysqldb \
        CONFIG_PACKAGE_$(PKG_NAME)-mod-faxchan \
        CONFIG_PACKAGE_$(PKG_NAME)-mod-openssl \
        CONFIG_PACKAGE_$(PKG_NAME)-mod-zlibcompress \
@@ -41,6 +41,8 @@ PKG_CONFIG_DEPENDS:= \
 
 include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
+# Needed for yate-mod-mysqldb to find iconv
+include $(INCLUDE_DIR)/nls.mk
 
 define Package/$(PKG_NAME)/Default
   SUBMENU:=Telephony