meson: Don't try to find gio-unix on Windows

This commit is contained in:
Seungha Yang 2019-05-12 18:33:32 +09:00 committed by Nirbheek Chauhan
parent 66c9618f0c
commit ad9d81d319

View file

@ -251,8 +251,11 @@ glib_deps = [dependency('glib-2.0', version : glib_req, fallback: ['glib', 'libg
dependency('gobject-2.0', fallback: ['glib', 'libgobject_dep'])]
# GIO is used by the GIO plugin, and by the TCP, SDP, and RTSP plugins
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
giounix_dep = dependency('gio-unix-2.0', version : glib_req, required : host_system != 'windows',
giounix_dep = dependency('', required: false)
if host_system != 'windows'
giounix_dep = dependency('gio-unix-2.0', version : glib_req,
fallback: ['glib', 'libgiounix_dep'])
endif
gmodule_dep = dependency('gmodule-no-export-2.0',
fallback: ['glib', 'libgmodule_dep'])