From 0234b91cba01f2726a08a336f4855cdd076dcb80 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Thu, 12 Jul 2018 22:19:02 +0200 Subject: [PATCH] yate: fix mod-mysqldb compile 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 --- net/yate/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/yate/Makefile b/net/yate/Makefile index 86c2e91..97aad06 100644 --- a/net/yate/Makefile +++ b/net/yate/Makefile @@ -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