libintl.h was not found when CONFIG_BUILD_NLS was selected
explicit -lintl fixes 
undefined reference to `libintl_gettext'

fixes ticket #15816

Signed-off-by: Dirk Neukirchen <dirkneukirc...@web.de>
---
 net/httping/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net/httping/Makefile b/net/httping/Makefile
index 3c0b1ef..a6c45b5 100644
--- a/net/httping/Makefile
+++ b/net/httping/Makefile
@@ -36,7 +36,7 @@ endef
 
 define Package/httping
   $(call Package/httping/Default)
-  DEPENDS+= +libopenssl
+  DEPENDS+= +libopenssl $(INTL_DEPENDS)
   TITLE+= (with SSL support)
   VARIANT:=ssl
 endef
@@ -60,12 +60,14 @@ endef
 define Build/Configure
 endef
 
+TARGET_LDFLAGS += $(INTL_LDFLAGS) $(if $(INTL_FULL),-lintl)
+
 MAKE_FLAGS += \
        DEBUG="no" \
        FW="no" \
        NC="no" \
        TFO="no"
-       
+
 ifeq ($(BUILD_VARIANT),nossl)
        MAKE_FLAGS += SSL="no"
 endif
-- 
2.0.0.rc0

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to