summaryrefslogtreecommitdiffstats
path: root/package/net-tools/net-tools.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-04 00:01:03 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:37:14 +0200
commite5968727f3c0ea78f4f0525847ad11cf68f5d01c (patch)
treea0a4adc916e193cb0bc93eb372916eadd47df501 /package/net-tools/net-tools.mk
parent0af286a6da20fa36eda5cd0a7a06c76f17ea6c1a (diff)
downloadbuildroot-e5968727f3c0ea78f4f0525847ad11cf68f5d01c.tar.gz
buildroot-e5968727f3c0ea78f4f0525847ad11cf68f5d01c.zip
net-tools: remove libintl static linking handling
We no longer support building the full-blown libintl in static linking scenarios, as it causes too many problems. Patch 0001-Makefile-fix-static-linking-issue-with-lintl.patch was added to allow passing -lintl through LIBS, in a place that works for static linking. However, for dynamic linking, we can simply pass -lintl through the existing LDFLAGS variable, as it was done prior to commit 38bfd129c64a9cfd82c4fa4c797afadf12a6ffaa ("package/net-tools: fix static linking issue with lintl"). This commit does that and gets rid of the now useless patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/net-tools/net-tools.mk')
-rw-r--r--package/net-tools/net-tools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/net-tools/net-tools.mk b/package/net-tools/net-tools.mk
index 57a3eb4dea..bc87290d4f 100644
--- a/package/net-tools/net-tools.mk
+++ b/package/net-tools/net-tools.mk
@@ -35,7 +35,7 @@ NET_TOOLS_POST_CONFIGURE_HOOKS += NET_TOOLS_ENABLE_I18N NET_TOOLS_ENABLE_IPV6
define NET_TOOLS_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) \
- LIBS=$(TARGET_NLS_LIBS) \
+ LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" \
$(MAKE) -C $(@D)
endef
OpenPOWER on IntegriCloud