diff --git a/ext/dvdread/meson.build b/ext/dvdread/meson.build index ae5a7a611d..e385572273 100644 --- a/ext/dvdread/meson.build +++ b/ext/dvdread/meson.build @@ -1,5 +1,3 @@ -gmodule_dep = dependency('gmodule-2.0', fallback : ['glib', 'libgmodule_dep'], - required : get_option('dvdread')) dvdread_dep = dependency('dvdread', version : '>= 0.5.0', required : get_option('dvdread')) if gmodule_dep.found() and dvdread_dep.found() diff --git a/meson.build b/meson.build index 092aaa17b2..0526f628b2 100644 --- a/meson.build +++ b/meson.build @@ -155,6 +155,8 @@ else cdata.set('DISABLE_ORC', 1) endif +gmodule_dep = dependency('gmodule-2.0', fallback : ['glib', 'libgmodule_dep']) + ugly_args = ['-DHAVE_CONFIG_H'] configinc = include_directories('.') libsinc = include_directories('gst-libs')