[glib: 1/2] Use W32 visibility for Cygwin



commit 8758604579f2b2bb460b94751ddfc892479564f2
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Wed Mar 20 21:10:58 2019 +0000

    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')


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