From 1eaa3e101d04fd9e73b3c680f305b35f9bb16add Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 29 Dec 2015 01:22:42 +0000 Subject: 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 --- meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-extended/net-tools/net-tools_1.60-26.bb') 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 = "" -- cgit 1.2.3-korg