meson: bluez: Early terminate configure on Windows
authorSeungha Yang <seungha.yang@navercorp.com>
Mon, 20 May 2019 14:19:19 +0000 (23:19 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 9 Aug 2019 17:08:05 +0000 (17:08 +0000)
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

index 56bb104..9af9778 100644 (file)
@@ -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'],