diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-08-15 15:57:24 +0300 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-08-15 15:57:33 +0300 |
commit | fced787a63c522129735c97e75cf54a8567c7d17 (patch) | |
tree | 2cdacbf5a0c1b61cb9aba7d97275da598c9890f4 /meson.build | |
parent | 848b2963905c8c7de1d1efdf587886210c164e28 (diff) |
meson: inherit python3 version used by Meson itself
python3 symlink may not be available
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
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() |