From 8d023b92ecc01000a3c86e6ec4ed71d80b7e601c Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sun, 12 May 2019 18:33:32 +0900 Subject: [PATCH] meson: Don't try to find gio-unix on Windows --- meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index b775465..49a13ba 100644 --- a/meson.build +++ b/meson.build @@ -250,8 +250,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', - fallback: ['glib', 'libgiounix_dep']) +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']) -- 2.7.4