summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-07-17 12:14:13 -0400
committerMike Gilbert <floppym@gentoo.org>2017-07-18 15:13:27 -0400
commitbae7477c594c2f2ce079e18c28b89bc7810bbe85 (patch)
treeec07dbe36b076795f2465eb874517690760ff087 /eclass/meson.eclass
parentdev-util/qbs: remove old (diff)
downloadgentoo-bae7477c594c2f2ce079e18c28b89bc7810bbe85.tar.gz
gentoo-bae7477c594c2f2ce079e18c28b89bc7810bbe85.tar.bz2
gentoo-bae7477c594c2f2ce079e18c28b89bc7810bbe85.zip
meson.eclass: ensure we have a UTF-8 locale set
Bug: https://bugs.gentoo.org/625396
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r--eclass/meson.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 25e19dff48e3..5b63f0ef3a33 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -40,7 +40,7 @@ esac
if [[ -z ${_MESON_ECLASS} ]]; then
-inherit ninja-utils toolchain-funcs
+inherit ninja-utils python-utils-r1 toolchain-funcs
fi
@@ -148,6 +148,9 @@ meson_src_configure() {
STRIP=$(tc-getBUILD_STRIP)
fi
+ # https://bugs.gentoo.org/625396
+ python_export_utf8_locale
+
# Append additional arguments from ebuild
mesonargs+=("${emesonargs[@]}")