summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-03-30 15:14:19 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-04-06 14:09:44 +0100
commita6cbad8bd3d4d8f05111bcad71ddeeb1db4f8bb7 (patch)
tree1330aeda0fc371cb942e7ee9c95bae6f5208774b /meson.build
parentf55d88dccfafc9677412c7187243784250f647af (diff)
downloadgdk-pixbuf-a6cbad8bd3d4d8f05111bcad71ddeeb1db4f8bb7.tar.gz
build: Simplify platform check
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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