[OE-core] [PATCH 2/2] mtools: Make sure mcopy works when using uninative
Randy Witt
randy.e.witt at linux.intel.com
Sat Mar 5 05:06:30 UTC 2016
uninative changes the location of the IBM850 codepage used by mcopy. So
make sure to set GCONV_PATH to the correct location when using
uninative.
Signed-off-by: Randy Witt <randy.e.witt at linux.intel.com>
---
meta/recipes-devtools/mtools/mtools_4.0.18.bb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
index 479fd32..691539b 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
@@ -50,6 +50,12 @@ do_install_prepend () {
}
do_install_append_class-native () {
- create_wrapper ${D}${bindir}/mcopy \
+ if [ "${UNINATIVE_LIBDIR}x" != "x" ]; then
+ GCONV_PATH=${UNINATIVE_LIBDIR}/gconv
+ else
GCONV_PATH=${libdir}/gconv
+ fi
+
+ create_wrapper ${D}${bindir}/mcopy \
+ GCONV_PATH=$GCONV_PATH
}
--
2.5.0
More information about the Openembedded-core
mailing list