libzdb: remove iconv hack, include nls.mk
authorSebastian Kemper <redacted>
Fri, 13 Jul 2018 21:10:51 +0000 (23:10 +0200)
committerSebastian Kemper <redacted>
Fri, 13 Jul 2018 21:12:03 +0000 (23:12 +0200)
mariadb was sorted out by including nls.mk. Include it also in libzdb
and get rid of the previously introduced hack.

Signed-off-by: Sebastian Kemper <redacted>
libs/libzdb/Makefile

index 8c0f9c5a2dc642d7eeef055839c757d9ed826b6a..e3d1c276db062a77d8bd29237f70d8dd0c93ef70 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libzdb
 PKG_VERSION:=3.1
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 PKG_LICENSE:=GPL-3.0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -22,14 +22,8 @@ PKG_INSTALL:=1
 PKG_BUILD_DEPENDS:=libzdb/host
 
 include $(INCLUDE_DIR)/package.mk
-
-# Help libzdb find libiconv.so when using uClibc.
-ifneq ($(CONFIG_USE_UCLIBC),)
-TARGET_CPPFLAGS+= \
-       -I$(STAGING_DIR)/usr/lib/libiconv-full/include
-TARGET_LDFLAGS += \
-       -L$(STAGING_DIR)/usr/lib/libiconv-full/lib
-endif
+# libzdb needs to find iconv when linking to libmariadb
+include $(INCLUDE_DIR)/nls.mk
 
 define Package/libzdb
     SECTION:=libs
git clone https://git.99rst.org/PROJECT