diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-29 01:22:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:27 +0000 |
commit | 7b6b3124dbb8505fd59b066061dd272acf401247 (patch) | |
tree | c48a558d786b0253b8f2085fb8e4027759473183 /meta/recipes-extended/net-tools/net-tools_1.60-26.bb | |
parent | ee1bfdb4571bcad9b33c0fc5a6a99940c6e8bf41 (diff) | |
download | poky-7b6b3124dbb8505fd59b066061dd272acf401247.tar.gz |
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
(From OE-Core rev: 1eaa3e101d04fd9e73b3c680f305b35f9bb16add)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.bb | 4 |
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/ | |||
11 | file://net-tools-config.h \ | 11 | file://net-tools-config.h \ |
12 | file://net-tools-config.make \ | 12 | file://net-tools-config.make \ |
13 | file://ifconfig-interface-0-del-IP-will-remove-the-aliased-.patch \ | 13 | file://ifconfig-interface-0-del-IP-will-remove-the-aliased-.patch \ |
14 | file://musl-fixes.patch \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | # for this package we're mostly interested in tracking debian patches, | 17 | # for this package we're mostly interested in tracking debian patches, |
@@ -32,6 +33,9 @@ UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/net-tools/" | |||
32 | inherit gettext | 33 | inherit gettext |
33 | 34 | ||
34 | do_patch[depends] = "quilt-native:do_populate_sysroot" | 35 | do_patch[depends] = "quilt-native:do_populate_sysroot" |
36 | |||
37 | LDFLAGS_append_libc-uclibc = " -lintl " | ||
38 | |||
35 | # The Makefile is lame, no parallel build | 39 | # The Makefile is lame, no parallel build |
36 | PARALLEL_MAKE = "" | 40 | PARALLEL_MAKE = "" |
37 | 41 | ||