diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-29 01:20:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:27 +0000 |
commit | ed5da2a6e529f782b56facac9485c77a626bc49c (patch) | |
tree | 7595b9964771a9be04e6f5f12dbea4de74c89ed5 /meta/recipes-devtools/mtools/mtools_4.0.18.bb | |
parent | 5384f08ace4c895610f00bb4e1f79ee4aed27ad1 (diff) | |
download | poky-ed5da2a6e529f782b56facac9485c77a626bc49c.tar.gz |
mtools: Fix build with uclibc
unlike glibc, uclibc does not have internal APIs implemented for
libiconv, so it needs to depend upon libiconv
(From OE-Core rev: 04a609a70f6c464ffd32a4a073c3801d9446622b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/mtools/mtools_4.0.18.bb')
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_4.0.18.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb index bc9b79c13e..479fd32975 100644 --- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb +++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb | |||
@@ -5,6 +5,7 @@ SECTION = "optional" | |||
5 | LICENSE = "GPLv3" | 5 | LICENSE = "GPLv3" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
7 | 7 | ||
8 | DEPENDS += "virtual/libiconv" | ||
8 | 9 | ||
9 | RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850" | 10 | RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850" |
10 | RRECOMMENDS_${PN}_libc-glibc = "\ | 11 | RRECOMMENDS_${PN}_libc-glibc = "\ |
@@ -35,6 +36,8 @@ inherit autotools texinfo | |||
35 | 36 | ||
36 | EXTRA_OECONF = "--without-x" | 37 | EXTRA_OECONF = "--without-x" |
37 | 38 | ||
39 | LDFLAGS_append_libc-uclibc = " -liconv " | ||
40 | |||
38 | BBCLASSEXTEND = "native nativesdk" | 41 | BBCLASSEXTEND = "native nativesdk" |
39 | 42 | ||
40 | PACKAGECONFIG ??= "" | 43 | PACKAGECONFIG ??= "" |