mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
meson: Only check the first parameter
https://bugzilla.gnome.org/show_bug.cgi?id=781155
This commit is contained in:
parent
57fd614e02
commit
7c01da8476
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if flexversion_res.returncode() != 0
|
|||
error('Could not get flex version (@0@)'.format(flexversion_res.stderr()))
|
||||
endif
|
||||
|
||||
flexversion = flexversion_res.stdout().split('\n')[0].split(' ')[-1].strip()
|
||||
flexversion = flexversion_res.stdout().split('\n')[0].split(' ')[1].strip()
|
||||
if flexversion.version_compare('<' + flex_min_version)
|
||||
error('flex version @0@ >= @1@: NO'.format(flexversion, flex_min_version))
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue