diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-03 22:48:15 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 01:27:26 +0200 |
| commit | 654de6512554c2d5ede405fd4ecac345d075b06b (patch) | |
| tree | bf448ee0492b572a603473a2c0c670002081af5d /package/httping | |
| parent | 1d7a80d761fe88d15a91cc1913e75fccf4ef577a (diff) | |
| download | buildroot-654de6512554c2d5ede405fd4ecac345d075b06b.tar.gz buildroot-654de6512554c2d5ede405fd4ecac345d075b06b.zip | |
httping: use the new gettext logic
This commit switches to use the new gettext logic, which involves:
- using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext
- using TARGET_NLS_LIBS to force linking against libintl
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/httping')
| -rw-r--r-- | package/httping/Config.in | 1 | ||||
| -rw-r--r-- | package/httping/httping.mk | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/package/httping/Config.in b/package/httping/Config.in index 6564415997..07ff102081 100644 --- a/package/httping/Config.in +++ b/package/httping/Config.in @@ -4,7 +4,6 @@ comment "httping needs a toolchain w/ wchar" config BR2_PACKAGE_HTTPING bool "httping" depends on BR2_USE_WCHAR - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT help Httping is like 'ping' but for http-requests. Give it an url, and it'll show you how long it takes to connect, diff --git a/package/httping/httping.mk b/package/httping/httping.mk index e1c686f1b9..649c643945 100644 --- a/package/httping/httping.mk +++ b/package/httping/httping.mk @@ -10,10 +10,10 @@ HTTPING_SITE = http://www.vanheusden.com/httping HTTPING_LICENSE = GPL-2.0 HTTPING_LICENSE_FILES = license.txt HTTPING_LDFLAGS = $(TARGET_LDFLAGS) \ - $(if $(BR2_NEEDS_GETTEXT),-lintl) \ + $(TARGET_NLS_LIBS) \ $(if $(BR2_PACKAGE_LIBICONV),-liconv) -HTTPING_DEPENDENCIES = host-gettext \ - $(if $(BR2_NEEDS_GETTEXT),gettext) \ +HTTPING_DEPENDENCIES = \ + $(TARGET_NLS_DEPENDENCIES) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ $(if $(BR2_PACKAGE_NCURSES_WCHAR),ncurses) \ $(if $(BR2_PACKAGE_OPENSSL),openssl) \ |

