Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-08-15 15:57:24 +0300
committerJan Beich <jbeich@FreeBSD.org>2021-08-15 15:57:33 +0300
commitfced787a63c522129735c97e75cf54a8567c7d17 (patch)
tree2cdacbf5a0c1b61cb9aba7d97275da598c9890f4 /meson.build
parent848b2963905c8c7de1d1efdf587886210c164e28 (diff)
meson: inherit python3 version used by Meson itself
python3 symlink may not be available
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 710bafe33..ba023cf77 100644
--- a/meson.build
+++ b/meson.build
@@ -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()