[gdk-pixbuf/ebassi/for-master: 8/8] build: Simplify platform check




commit a6cbad8bd3d4d8f05111bcad71ddeeb1db4f8bb7
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 30 15:14:19 2021 +0100

    build: Simplify platform check

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 7880577dc..93fde6629 100644
--- a/meson.build
+++ b/meson.build
@@ -193,7 +193,7 @@ endif
 # On non-Windows/macOS/android systems we always required shared-mime-info and GIO
 # shared_mime_dep = []
 shared_mime_dep = []
-if get_option('gio_sniffing') and host_system != 'windows' and host_system != 'darwin' and host_system != 
'android'
+if get_option('gio_sniffing') and host_system not in ['windows', 'darwin', 'android']
   shared_mime_dep += dependency('shared-mime-info')
   gdk_pixbuf_conf.set('GDK_PIXBUF_USE_GIO_MIME', 1)
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]