gnunet: fix build with full NLS support
authorDaniel Golle <redacted>
Fri, 11 Sep 2015 07:15:53 +0000 (09:15 +0200)
committerDaniel Golle <redacted>
Fri, 11 Sep 2015 07:16:20 +0000 (09:16 +0200)
Signed-off-by: Daniel Golle <redacted>
net/gnunet/Makefile

index 0fdb4fa8cd8b7bb2d29ca3c444f1acb4fb8dd230..469fdd2426fc55703fcbfbf9d930028dbfe92b67 100644 (file)
@@ -30,8 +30,11 @@ PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 
 CONFIGURE_ARGS+= \
+       --with-libiconv-prefix="$(ICONV_PREFIX)" \
+       --with-libintl-prefix="$(INTL_PREFIX)" \
        --with-ltdl \
        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mysql),--with-mysql="$(STAGING_DIR)/usr",--without-mysql) \
        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pgsql),--with-postgresql="$(STAGING_DIR)/usr/bin/pg_config",--without-postgresql) \
@@ -56,7 +59,7 @@ define Package/gnunet
 $(call Package/gnunet/Default)
   TITLE+= - a peer-to-peer framework focusing on security
   DEPENDS:=+ca-certificates +libgnurl +libgnutls +libidn +libltdl \
-           +libmicrohttpd +libunistring +librt
+           +libmicrohttpd +libunistring +librt $(ICONV_DEPENDS) $(INTL_DEPENDS)
   USERID:=gnunet=400:gnunet=400
   MENU:=1
 endef
git clone https://git.99rst.org/PROJECT