mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
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:
commit
bb6eb8c16f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user