mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-05 23:50:07 +00:00
plugins: ensure so suffix is used on macOS
This commit is contained in:
parent
e017371686
commit
fa86aefab3
|
@ -177,6 +177,13 @@ config_h.set_quoted('PLATFORM_NAME', platform_name)
|
|||
|
||||
g_ir_compiler = find_program('g-ir-compiler')
|
||||
|
||||
module_suffix = []
|
||||
# Keep the autotools convention for shared module suffix because GModule
|
||||
# depends on it: https://gitlab.gnome.org/GNOME/glib/issues/520
|
||||
if ['darwin', 'ios'].contains(host_machine.system())
|
||||
module_suffix = 'so'
|
||||
endif
|
||||
|
||||
subdir('po')
|
||||
subdir('contrib/xml')
|
||||
subdir('contrib/ide')
|
||||
|
|
|
@ -18,4 +18,5 @@ libdiff = shared_module(
|
|||
c_args: plugin_cflags,
|
||||
install: true,
|
||||
install_dir: plugin_dir,
|
||||
name_suffix: module_suffix,
|
||||
)
|
||||
|
|
|
@ -25,4 +25,5 @@ libfiles = shared_module(
|
|||
c_args: plugin_cflags,
|
||||
install: true,
|
||||
install_dir: plugin_dir,
|
||||
name_suffix: module_suffix,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue