make compilation work on cygwin

This commit is contained in:
Ailin Nemui 2025-07-25 16:15:05 +01:00
commit df8aa42778
18 changed files with 40 additions and 26 deletions

View file

@ -43,7 +43,8 @@ libirc_core_sm = shared_module('irc_core',
name_suffix : module_suffix,
install : true,
install_dir : moduledir,
link_whole : libirc_core_a)
link_whole : libirc_core_a,
link_with : dl_cross_irssi_main)
dl_cross_irc_core = []
if need_dl_cross_link

View file

@ -16,7 +16,7 @@ libirc_dcc_sm = shared_module('irc_dcc',
name_suffix : module_suffix,
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_core,
link_with : dl_cross_irc_core + dl_cross_irssi_main,
dependencies : dep)
dl_cross_irc_dcc = []

View file

@ -12,7 +12,7 @@ shared_module('irc_flood',
name_suffix : module_suffix,
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_core,
link_with : dl_cross_irc_core + dl_cross_irssi_main,
link_whole : libirc_flood_a)
install_headers(

View file

@ -13,7 +13,7 @@ libirc_notifylist_sm = shared_module('irc_notifylist',
name_suffix : module_suffix,
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_core,
link_with : dl_cross_irc_core + dl_cross_irssi_main,
dependencies : dep)
dl_cross_irc_notifylist = []