mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
add explicit name_suffix to shared modules
This commit is contained in:
parent
f9c9485d15
commit
c0db0b8cb8
10
meson.build
10
meson.build
@ -77,6 +77,16 @@ def_scriptdir = '-D' + 'SCRIPTDIR' + '="' + (get_option('prefix') / scriptdir)
|
||||
|
||||
def_suppress_printf_fallback = '-D' + 'SUPPRESS_PRINTF_FALLBACK'
|
||||
|
||||
|
||||
module_suffix = []
|
||||
perl_module_suffix = []
|
||||
# Meson uses the wrong module extensions on Mac.
|
||||
# https://gitlab.gnome.org/GNOME/glib/issues/520
|
||||
if ['darwin', 'ios'].contains(host_machine.system())
|
||||
module_suffix = 'so'
|
||||
perl_module_suffix = 'bundle'
|
||||
endif
|
||||
|
||||
##############
|
||||
# Help files #
|
||||
##############
|
||||
|
@ -18,6 +18,7 @@ libfe_irc_dcc_a = static_library('fe_irc_dcc',
|
||||
],
|
||||
dependencies : dep)
|
||||
shared_module('fe_irc_dcc',
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_dcc,
|
||||
|
@ -29,6 +29,7 @@ libfe_common_irc_a = static_library('fe_common_irc',
|
||||
],
|
||||
dependencies : dep)
|
||||
shared_module('fe_common_irc',
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_core,
|
||||
|
@ -13,6 +13,7 @@ libfe_irc_notifylist_a = static_library('fe_irc_notifylist',
|
||||
],
|
||||
dependencies : dep)
|
||||
shared_module('fe_irc_notifylist',
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_notifylist,
|
||||
|
@ -39,6 +39,7 @@ libirc_core_a = static_library('irc_core',
|
||||
],
|
||||
dependencies : dep)
|
||||
libirc_core_sm = shared_module('irc_core',
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_whole : libirc_core_a)
|
||||
|
@ -13,6 +13,7 @@ libirc_dcc_sm = shared_module('irc_dcc',
|
||||
),
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_core,
|
||||
|
@ -9,6 +9,7 @@ libirc_flood_a = static_library('irc_flood',
|
||||
implicit_include_directories : false,
|
||||
dependencies : dep)
|
||||
shared_module('irc_flood',
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_core,
|
||||
|
@ -10,6 +10,7 @@ libirc_notifylist_sm = shared_module('irc_notifylist',
|
||||
),
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_core,
|
||||
|
@ -9,6 +9,7 @@ shared_module('irc_proxy',
|
||||
+ [ irssi_version_h ],
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
dependencies : dep,
|
||||
|
@ -11,6 +11,7 @@ shared_module('otr_core',
|
||||
),
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
dependencies : dep,
|
||||
|
@ -20,6 +20,7 @@ shared_module('Irssi',
|
||||
)
|
||||
+ [ irssi_version_h ],
|
||||
name_prefix : '',
|
||||
name_suffix : perl_module_suffix,
|
||||
install : true,
|
||||
install_dir : perlmoddir / 'auto' / 'Irssi',
|
||||
include_directories : rootinc,
|
||||
|
@ -21,6 +21,7 @@ shared_module('Irc',
|
||||
'module.h',
|
||||
),
|
||||
name_prefix : '',
|
||||
name_suffix : perl_module_suffix,
|
||||
install : true,
|
||||
install_dir : perlmoddir / 'auto' / 'Irssi' / 'Irc',
|
||||
include_directories : rootinc,
|
||||
|
@ -33,6 +33,7 @@ libperl_core_sm = shared_module('perl_core',
|
||||
],
|
||||
include_directories : [ rootinc ] + [ generated_files_inc ],
|
||||
implicit_include_directories : false,
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
install_rpath : perl_rpath,
|
||||
@ -56,6 +57,7 @@ shared_module('fe_perl',
|
||||
],
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
dependencies : dep,
|
||||
|
@ -17,6 +17,7 @@ shared_module('TextUI',
|
||||
'module.h',
|
||||
),
|
||||
name_prefix : '',
|
||||
name_suffix : perl_module_suffix,
|
||||
install : true,
|
||||
install_dir : perlmoddir / 'auto' / 'Irssi' / 'TextUI',
|
||||
include_directories : rootinc,
|
||||
|
@ -15,6 +15,7 @@ shared_module('UI',
|
||||
'module.h',
|
||||
),
|
||||
name_prefix : '',
|
||||
name_suffix : perl_module_suffix,
|
||||
install : true,
|
||||
install_dir : perlmoddir / 'auto' / 'Irssi' / 'UI',
|
||||
include_directories : rootinc,
|
||||
|
Loading…
Reference in New Issue
Block a user