mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +00:00
meson: actually check glib dependency version
Actually check the version constraint when looking for the glib dependency. The version check will make meson use the fallback dependency when the one from the system is not recent enough, and eventually make the build succeed even on some older systems like Ubuntu 16.04. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/212>
This commit is contained in:
parent
4f0bb60c91
commit
03a109f5fe
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
|
|||
gstvalidate_dep = dependency('gst-validate-1.0', version : gst_req, required : get_option('validate'),
|
||||
fallback : ['gst-devtools', 'validate_dep'])
|
||||
|
||||
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
|
||||
gio_dep = dependency('gio-2.0', version: glib_req, fallback: ['glib', 'libgio_dep'])
|
||||
libxml_dep = dependency('libxml-2.0', required: get_option('xptv'))
|
||||
cdata.set('DISABLE_XPTV', not libxml_dep.found())
|
||||
|
||||
|
|
Loading…
Reference in a new issue