From a93bf98245fa3595133dbcbf6ed43504bf42351c Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 20 May 2019 23:19:19 +0900 Subject: [PATCH] meson: bluez: Early terminate configure on Windows This plugin is for linux bluetooth stack. So the early termination can save configure time on Windows (i.e., we can avoid glib subproject fallback) --- sys/bluez/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/bluez/meson.build b/sys/bluez/meson.build index 82105ee..a53d5b8 100644 --- a/sys/bluez/meson.build +++ b/sys/bluez/meson.build @@ -7,6 +7,10 @@ bluez_sources = [ 'gstavrcputil.c', ] +if host_system == 'windows' + subdir_done() +endif + bluez_dep = dependency('bluez', version : '>= 5.0', required : get_option('bluez')) gio_unix_dep = dependency('gio-unix-2.0', version : glib_req, fallback: ['glib', 'libgiounix_dep'], -- 2.7.4