diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2014-05-23 12:39:35 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-23 12:39:35 +0200 |
commit | 76bd097b4006316ca2e84a21a23416908439a065 (patch) | |
tree | e4a2bb225ce74783f2c307d41b7d54aa9f63d55b /package/httping | |
parent | 5f017a8961e071ceda5350e2d12b58d969b439dd (diff) | |
download | buildroot-76bd097b4006316ca2e84a21a23416908439a065.tar.gz buildroot-76bd097b4006316ca2e84a21a23416908439a065.zip |
httping: fix static linking when libintl+libiconv are enabled
Fixes http://autobuild.buildroot.net/results/365/365d6be787c5560aa1daa28065668261e1171d24/
If libiconv is enabled, libintl will contain references to it, so we need to
explicitly link against it when statically linking against libintl.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/httping')
-rw-r--r-- | package/httping/httping.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/httping/httping.mk b/package/httping/httping.mk index 610cecb9e3..ca636c0d21 100644 --- a/package/httping/httping.mk +++ b/package/httping/httping.mk @@ -9,9 +9,12 @@ HTTPING_SOURCE = httping-$(HTTPING_VERSION).tgz HTTPING_SITE = http://www.vanheusden.com/httping HTTPING_LICENSE = GPLv2 HTTPING_LICENSE_FILES = license.txt -HTTPING_LDFLAGS = $(if $(BR2_NEEDS_GETTEXT),-lintl) $(TARGET_LDFLAGS) +HTTPING_LDFLAGS = $(TARGET_LDFLAGS) \ + $(if $(BR2_NEEDS_GETTEXT),-lintl) \ + $(if $(BR2_PACKAGE_LIBICONV),-liconv) HTTPING_DEPENDENCIES = host-gettext \ $(if $(BR2_NEEDS_GETTEXT),gettext) \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ $(if $(BR2_PACKAGE_OPENSSL),openssl) \ $(if $(BR2_PACKAGE_FFTW),fftw) HTTPING_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) \ |