mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
Add meson/ to PYTHONPATH if needed
This commit is contained in:
parent
45d7f5f337
commit
f822ffead9
1 changed files with 5 additions and 0 deletions
|
@ -108,6 +108,11 @@ def get_subprocess_env(options):
|
||||||
for pkg_dir in pkg_dirs:
|
for pkg_dir in pkg_dirs:
|
||||||
prepend_env_var(env, "PKG_CONFIG_PATH", pkg_dir)
|
prepend_env_var(env, "PKG_CONFIG_PATH", pkg_dir)
|
||||||
|
|
||||||
|
mesonpath = os.path.join(SCRIPTDIR, "meson")
|
||||||
|
if os.path.join(mesonpath):
|
||||||
|
# Add meson/ into PYTHONPATH if we are using a local meson
|
||||||
|
prepend_env_var(env, 'PYTHONPATH', mesonpath)
|
||||||
|
|
||||||
return env
|
return env
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue