mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
meson: use 'python' module to find python instead of deprecated 'python3' one
https://github.com/mesonbuild/meson/pull/4169
This commit is contained in:
parent
13b8c8554d
commit
6837a61450
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ else:
|
||||||
prefix, 'Lib', 'Python%d%d' % (version.major, version.minor),
|
prefix, 'Lib', 'Python%d%d' % (version.major, version.minor),
|
||||||
'site-packages', 'gi', 'overrides'))
|
'site-packages', 'gi', 'overrides'))
|
||||||
'''
|
'''
|
||||||
python3 = import('python3').find_python()
|
python3 = import('python').find_installation()
|
||||||
pygi_override_dir = get_option('pygi-overrides-dir')
|
pygi_override_dir = get_option('pygi-overrides-dir')
|
||||||
if pygi_override_dir == ''
|
if pygi_override_dir == ''
|
||||||
cres = run_command(python3, '-c', override_detector, get_option('prefix'))
|
cres = run_command(python3, '-c', override_detector, get_option('prefix'))
|
||||||
|
|
Loading…
Reference in a new issue