aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/gettext.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-10-13 02:05:43 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-10-13 02:18:24 +0530
commit5e384b8396d5472fc8f8ec46b5e775f4ac6557ef (patch)
tree5517d3974668a62bb97c7d18f4b84e0290d6584f /mesonbuild/scripts/gettext.py
parent814f4909f959d6d8a84e89058819a0894821fb63 (diff)
downloadmeson-5e384b8396d5472fc8f8ec46b5e775f4ac6557ef.zip
meson-5e384b8396d5472fc8f8ec46b5e775f4ac6557ef.tar.gz
meson-5e384b8396d5472fc8f8ec46b5e775f4ac6557ef.tar.bz2
dependencies: Use a wrapper for calling pkg-config
Reduces duplicated code, and also use universal_newlines=True which avoids having to decode the bytes output to string. We mostly need this so we can pass the *current* process environment to pkg-config which might've changed since the module was imported. Without this, subprocess.Popen invokes pkg-config with a stale environment (used in the unittest added later)
Diffstat (limited to 'mesonbuild/scripts/gettext.py')
0 files changed, 0 insertions, 0 deletions