mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-14 04:57:46 +02: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:
@@ -1296,11 +1296,9 @@ glibconfig_conf.set('glongbits', long_size * 8)
|
|||||||
glibconfig_conf.set('gsizebits', sizet_size * 8)
|
glibconfig_conf.set('gsizebits', sizet_size * 8)
|
||||||
glibconfig_conf.set('gssizebits', ssizet_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'
|
if host_system == 'windows'
|
||||||
g_module_suffix = 'dll'
|
g_module_suffix = 'dll'
|
||||||
elif host_system == 'darwin'
|
|
||||||
g_module_suffix = 'dylib'
|
|
||||||
else
|
else
|
||||||
g_module_suffix = 'so'
|
g_module_suffix = 'so'
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user