meson.eclass: ensure we have a UTF-8 locale set
authorMike Gilbert <floppym@gentoo.org>
Mon, 17 Jul 2017 16:14:13 +0000 (12:14 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 18 Jul 2017 19:13:27 +0000 (15:13 -0400)
Bug: https://bugs.gentoo.org/625396

eclass/meson.eclass

index 25e19dff48e311b71f38a75681faae712eb82e6f..5b63f0ef3a33ef905addab263efe26897708ca13 100644 (file)
@@ -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[@]}")