mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 10:38:27 +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()))
|
error('Could not get flex version (@0@)'.format(flexversion_res.stderr()))
|
||||||
endif
|
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)
|
if flexversion.version_compare('<' + flex_min_version)
|
||||||
error('flex version @0@ >= @1@: NO'.format(flexversion, flex_min_version))
|
error('flex version @0@ >= @1@: NO'.format(flexversion, flex_min_version))
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue