mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
meson: move gmodule check to top-level
It's also needed by the generic/states test and the variable is currently checked as part of the opengl lib tests so wouldn't be available if opengl was disabled.
This commit is contained in:
parent
4ec1ba433d
commit
73828a1a5c
2 changed files with 2 additions and 2 deletions
|
@ -136,8 +136,6 @@ foreach option : glconf_options
|
|||
glconf.set10(option, false)
|
||||
endforeach
|
||||
|
||||
gmodule_dep = dependency('gmodule-no-export-2.0',
|
||||
fallback: ['glib', 'libgmodule_dep'])
|
||||
unneeded_dep = dependency('', required : false)
|
||||
if unneeded_dep.found()
|
||||
error ('Found unfindable dependency')
|
||||
|
|
|
@ -235,6 +235,8 @@ glib_deps = [dependency('glib-2.0', version : glib_req, fallback: ['glib', 'libg
|
|||
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
|
||||
giounix_dep = dependency('gio-unix-2.0', version : glib_req, required : host_system != 'windows',
|
||||
fallback: ['glib', 'libgiounix_dep'])
|
||||
gmodule_dep = dependency('gmodule-no-export-2.0',
|
||||
fallback: ['glib', 'libgmodule_dep'])
|
||||
|
||||
# some of the examples can use gdk-pixbuf and GTK+3
|
||||
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', required : get_option('examples'))
|
||||
|
|
Loading…
Reference in a new issue