diff options
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb')
-rw-r--r-- | yocto-poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/yocto-poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/yocto-poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb index 24c9d4931..efde547e2 100644 --- a/yocto-poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb +++ b/yocto-poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb @@ -5,9 +5,10 @@ SECTION = "optional" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +DEPENDS += "virtual/libiconv" -RDEPENDS_${PN} = "glibc-gconv-ibm850" -RRECOMMENDS_${PN} = "\ +RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850" +RRECOMMENDS_${PN}_libc-glibc = "\ glibc-gconv-ibm437 \ glibc-gconv-ibm737 \ glibc-gconv-ibm775 \ @@ -35,6 +36,8 @@ inherit autotools texinfo EXTRA_OECONF = "--without-x" +LDFLAGS_append_libc-uclibc = " -liconv " + BBCLASSEXTEND = "native nativesdk" PACKAGECONFIG ??= "" @@ -45,8 +48,3 @@ do_install_prepend () { mkdir -p ${D}/${bindir} mkdir -p ${D}/${datadir} } - -do_install_append_class-native () { - create_wrapper ${D}${bindir}/mcopy \ - GCONV_PATH=${libdir}/gconv -} |