mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
meson: Set python3 before plugin subdir()s
It's used by the msdk plugin
This commit is contained in:
parent
c360ceea4d
commit
7e6a44388b
1 changed files with 2 additions and 1 deletions
|
@ -403,6 +403,8 @@ vs_module_defs_dir = meson.current_source_dir() + '/win32/common/'
|
|||
# Used by the *_mkenum.py helper scripts
|
||||
glib_mkenums = find_program('glib-mkenums')
|
||||
|
||||
python3 = import('python3').find_python()
|
||||
|
||||
gir = find_program('g-ir-scanner', required : false)
|
||||
gnome = import('gnome')
|
||||
build_gir = gir.found() and not meson.is_cross_build() and not get_option('disable_introspection')
|
||||
|
@ -418,5 +420,4 @@ subdir('ext')
|
|||
subdir('tests')
|
||||
subdir('pkgconfig')
|
||||
|
||||
python3 = import('python3').find_python()
|
||||
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
|
||||
|
|
Loading…
Reference in a new issue