summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.com>2017-04-11 15:52:20 (GMT)
committerThibault Saunier <thibault.saunier@osg.samsung.com>2017-04-11 16:24:45 (GMT)
commit7c01da8476062f9c0fd9f666fd6aceb8711fcff2 (patch)
tree44242ed7c98ac1491fcecc158239ef8b3b555ad3
parent57fd614e02681ee764f9eb0d0ae0aeb4f7ec8ca4 (diff)
downloadgstreamer-7c01da8476062f9c0fd9f666fd6aceb8711fcff2.tar.gz
gstreamer-7c01da8476062f9c0fd9f666fd6aceb8711fcff2.tar.xz
meson: Only check the first parameter
https://bugzilla.gnome.org/show_bug.cgi?id=781155
-rw-r--r--gst/parse/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/parse/meson.build b/gst/parse/meson.build
index f2baa9e..3ce681d 100644
--- a/gst/parse/meson.build
+++ b/gst/parse/meson.build
@@ -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