Merge branch 'nirbheek/g-module-suffix-macos' into 'master'

meson: Always set G_MODULE_SUFFIX to `so` on macOS

See merge request GNOME/glib!280
This commit is contained in:
Philip Withnall 2018-08-30 12:44:58 +00:00
commit bb6eb8c16f

View File

@ -1296,11 +1296,9 @@ glibconfig_conf.set('glongbits', long_size * 8)
glibconfig_conf.set('gsizebits', sizet_size * 8)
glibconfig_conf.set('gssizebits', ssizet_size * 8)
# FIXME: maybe meson should tell us the libsuffix?
# XXX: https://gitlab.gnome.org/GNOME/glib/issues/1413
if host_system == 'windows'
g_module_suffix = 'dll'
elif host_system == 'darwin'
g_module_suffix = 'dylib'
else
g_module_suffix = 'so'
endif