mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 02:20:04 +01:00
Use W32 visibility for Cygwin
Cygwin is still subject to W32 visibility mechanics.
This commit is contained in:
parent
ff47bb0e53
commit
8758604579
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user