mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
Merge branch 'cygwin-visibility' into 'master'
Use W32 visibility for Cygwin See merge request GNOME/glib!752
This commit is contained in:
commit
9d43bfc4ed
@ -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…
Reference in New Issue
Block a user