summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2019-04-03 16:03:16 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2019-04-03 16:03:16 +0000
commit9d43bfc4ed12fc940a046564b00dac2fecfdd0f9 (patch)
treeb54b3982e29a8c3baa4143502792a4ef83779c3e
parent430d5840469156a14011207a703e86cb0293fd2e (diff)
parent8758604579f2b2bb460b94751ddfc892479564f2 (diff)
downloadglib-9d43bfc4ed12fc940a046564b00dac2fecfdd0f9.tar.gz
Merge branch 'cygwin-visibility' into 'master'
Use W32 visibility for Cygwin See merge request GNOME/glib!752
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 27cb9c03e..64392a556 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')