aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-12-29 01:22:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:47 +0000
commit1eaa3e101d04fd9e73b3c680f305b35f9bb16add (patch)
treec1355c5b2490d14dac6a4b9e27156d7c6285a1cd /meta/recipes-extended/net-tools/net-tools_1.60-26.bb
parent16cce4f3fa8bc40d6ab9498aa1d837e2db267947 (diff)
downloadopenembedded-core-contrib-1eaa3e101d04fd9e73b3c680f305b35f9bb16add.tar.gz
openembedded-core-contrib-1eaa3e101d04fd9e73b3c680f305b35f9bb16add.tar.bz2
openembedded-core-contrib-1eaa3e101d04fd9e73b3c680f305b35f9bb16add.zip
net-tools: Link with libintl on uclibc
libintl is needed explicitly on linker cmdline on uclibc since the APIs are not in libc itelf. Fix build on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-extended/net-tools/net-tools_1.60-26.bb')
-rw-r--r--meta/recipes-extended/net-tools/net-tools_1.60-26.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
index 632aee7590..14b8e494bf 100644
--- a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
+++ b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
@@ -11,6 +11,7 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20050312T000000Z/pool/main/
file://net-tools-config.h \
file://net-tools-config.make \
file://ifconfig-interface-0-del-IP-will-remove-the-aliased-.patch \
+ file://musl-fixes.patch \
"
# for this package we're mostly interested in tracking debian patches,
@@ -32,6 +33,9 @@ UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/net-tools/"
inherit gettext
do_patch[depends] = "quilt-native:do_populate_sysroot"
+
+LDFLAGS_append_libc-uclibc = " -lintl "
+
# The Makefile is lame, no parallel build
PARALLEL_MAKE = ""