summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/mtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-12-29 01:20:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:47 +0000
commit04a609a70f6c464ffd32a4a073c3801d9446622b (patch)
treebf3d21be23f20b2a673b385b59058afa937ea1c6 /meta/recipes-devtools/mtools
parent5aea684689662d8cb0387f7268e1e69fd4bf0122 (diff)
downloadopenembedded-core-04a609a70f6c464ffd32a4a073c3801d9446622b.tar.gz
openembedded-core-04a609a70f6c464ffd32a4a073c3801d9446622b.tar.bz2
openembedded-core-04a609a70f6c464ffd32a4a073c3801d9446622b.zip
mtools: Fix build with uclibc
unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/mtools')
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.18.bb3
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"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+DEPENDS += "virtual/libiconv"
RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850"
RRECOMMENDS_${PN}_libc-glibc = "\
@@ -35,6 +36,8 @@ inherit autotools texinfo
EXTRA_OECONF = "--without-x"
+LDFLAGS_append_libc-uclibc = " -liconv "
+
BBCLASSEXTEND = "native nativesdk"
PACKAGECONFIG ??= ""