mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-23 01:18:11 +00:00
meson: inherit python3 version used by Meson itself
python3 symlink may not be available
This commit is contained in:
parent
089abdb5d4
commit
970ebed57b
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ csound_option = get_option('csound')
|
|||
csound_dep = dependency('', required: false)
|
||||
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
|
||||
python3 = import('python').find_installation('python3')
|
||||
python3 = import('python').find_installation()
|
||||
res = run_command(python3, '-c', 'import os; print(os.environ["CSOUND_LIB_DIR"])')
|
||||
if res.returncode() == 0
|
||||
csound_libdir = res.stdout().strip()
|
||||
|
|
Loading…
Reference in a new issue