]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: add runutf8 env vars and meson-python.sh script
authorPavel Hrdina <phrdina@redhat.com>
Tue, 30 Jun 2020 18:18:18 +0000 (20:18 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 3 Aug 2020 07:27:00 +0000 (09:27 +0200)
commitaf8611916a9b62fff841ddbdd575f95ba60f559a
tree8a753f656cb7b9d12b826ab9a1db3389bce03fc1
parent16bdf27dc9b435d4016ea6204f61b69bde66a52c
meson: add runutf8 env vars and meson-python.sh script

With meson we have to use both env vars and wrapper script to run python
with correct LANG settings.

run_command() and test() have 'env' attribute so we can use it, but
custom_target() doesn't support that attribute. Environment variables
cannot by configured using 'command' because meson checks if the first
item in the list is executable so we have to use a wrapper.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
configure.ac
meson.build
scripts/meson-python.sh [new file with mode: 0755]
scripts/meson.build