mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-08 17:12:22 +00:00
meson: inherit python3 version used by Meson itself
python3 symlink may not be available
This commit is contained in:
parent
848b296390
commit
fced787a63
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ csound_option = get_option('csound')
|
||||||
csound_dep = dependency('', required: false)
|
csound_dep = dependency('', required: false)
|
||||||
if not csound_dep.found() and not csound_option.disabled()
|
if not csound_dep.found() and not csound_option.disabled()
|
||||||
# if csound isn't distributed with pkg-config then user needs to define CSOUND_LIB_DIR with its location
|
# if csound isn't distributed with pkg-config then user needs to define CSOUND_LIB_DIR with its location
|
||||||
python3 = import('python').find_installation('python3')
|
python3 = import('python').find_installation()
|
||||||
res = run_command(python3, '-c', 'import os; print(os.environ["CSOUND_LIB_DIR"])')
|
res = run_command(python3, '-c', 'import os; print(os.environ["CSOUND_LIB_DIR"])')
|
||||||
if res.returncode() == 0
|
if res.returncode() == 0
|
||||||
csound_libdir = res.stdout().strip()
|
csound_libdir = res.stdout().strip()
|
||||||
|
|
Loading…
Reference in a new issue