httping: fix build with NLS

v2: INTL support was not at default DEPENDS (broke nossl)

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 <dirkneukirchen@web.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40701 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-05-05 19:31:03 +00:00
parent 8d3fbd4b11
commit 502c47bb5a

View File

@ -26,6 +26,7 @@ define Package/httping/Default
CATEGORY:=Network
TITLE:=Httping is like 'ping' but for http-requests
URL:=http://www.vanheusden.com/httping/
DEPENDS:=$(INTL_DEPENDS)
endef
define Package/httping/Default/description
@ -60,12 +61,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