mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
uninstalled: Fix meson detection when using meson from a git checkout
This would not trigger on the build bot because there is special casing in the code for a meson checkout underneath gst-build. Fix needed as mesonintrospect.py was changed into 'meson.py introspect' in recent meson versions. When using meson from git to configure the build the uninstalled script would pick up a system meson instead which then would then error out parsing the coredata from the newer meson.
This commit is contained in:
parent
3942dc262b
commit
62f1739133
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def get_meson():
|
|||
continue
|
||||
if os.path.exists (comp):
|
||||
mesondir = os.path.dirname(comp)
|
||||
if mesonintrospect.endswith('.py'):
|
||||
if mesonintrospect.endswith('.py') or mesonintrospect.endswith('.py introspect'):
|
||||
meson = os.path.join(mesondir, 'meson.py')
|
||||
else:
|
||||
meson = os.path.join(mesondir, 'meson')
|
||||
|
|
Loading…
Reference in a new issue