aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.18.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
index 479fd329751..691539b4f62 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
}