From 8758604579f2b2bb460b94751ddfc892479564f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Wed, 20 Mar 2019 21:10:58 +0000 Subject: [PATCH] Use W32 visibility for Cygwin Cygwin is still subject to W32 visibility mechanics. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d937b5fa3..2bf879608 100644 --- a/meson.build +++ b/meson.build @@ -169,7 +169,7 @@ endif # Detect and set symbol visibility glib_hidden_visibility_args = [] if get_option('default_library') != 'static' - if host_system == 'windows' + if host_system == 'windows' or host_system == 'cygwin' glib_conf.set('DLL_EXPORT', true) if cc.get_id() == 'msvc' glib_conf.set('_GLIB_EXTERN', '__declspec(dllexport) extern')