mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Merge pull request #1578 from ailin-nemui/cygwin
make compilation work on cygwin
This commit is contained in:
commit
d5be7d7756
20 changed files with 76 additions and 48 deletions
|
|
@ -39,11 +39,13 @@ libirc_core_a = static_library('irc_core',
|
|||
def_sysconfdir,
|
||||
],
|
||||
dependencies : dep)
|
||||
libirc_core_sm = shared_module('irc_core',
|
||||
libirc_core_sm = shared_library('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,
|
||||
override_options : ['b_lundef=false'])
|
||||
|
||||
dl_cross_irc_core = []
|
||||
if need_dl_cross_link
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# this file is part of irssi
|
||||
|
||||
libirc_dcc_sm = shared_module('irc_dcc',
|
||||
libirc_dcc_sm = shared_library('irc_dcc',
|
||||
files(
|
||||
'dcc-autoget.c',
|
||||
'dcc-chat.c',
|
||||
|
|
@ -16,8 +16,9 @@ libirc_dcc_sm = shared_module('irc_dcc',
|
|||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_core,
|
||||
dependencies : dep)
|
||||
link_with : dl_cross_irc_core + dl_cross_irssi_main,
|
||||
dependencies : dep,
|
||||
override_options : ['b_lundef=false'])
|
||||
|
||||
dl_cross_irc_dcc = []
|
||||
if need_dl_cross_link
|
||||
|
|
|
|||
|
|
@ -8,12 +8,13 @@ libirc_flood_a = static_library('irc_flood',
|
|||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
dependencies : dep)
|
||||
shared_module('irc_flood',
|
||||
shared_library('irc_flood',
|
||||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_core,
|
||||
link_whole : libirc_flood_a)
|
||||
link_with : dl_cross_irc_core + dl_cross_irssi_main,
|
||||
link_whole : libirc_flood_a,
|
||||
override_options : ['b_lundef=false'])
|
||||
|
||||
install_headers(
|
||||
files('module.h'),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# this file is part of irssi
|
||||
|
||||
libirc_notifylist_sm = shared_module('irc_notifylist',
|
||||
libirc_notifylist_sm = shared_library('irc_notifylist',
|
||||
files(
|
||||
'notify-commands.c',
|
||||
'notify-ison.c',
|
||||
|
|
@ -13,8 +13,9 @@ libirc_notifylist_sm = shared_module('irc_notifylist',
|
|||
name_suffix : module_suffix,
|
||||
install : true,
|
||||
install_dir : moduledir,
|
||||
link_with : dl_cross_irc_core,
|
||||
dependencies : dep)
|
||||
link_with : dl_cross_irc_core + dl_cross_irssi_main,
|
||||
dependencies : dep,
|
||||
override_options : ['b_lundef=false'])
|
||||
|
||||
dl_cross_irc_notifylist = []
|
||||
if need_dl_cross_link
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# this file is part of irssi
|
||||
|
||||
shared_module('irc_proxy',
|
||||
shared_library('irc_proxy',
|
||||
files(
|
||||
'dump.c',
|
||||
'listen.c',
|
||||
|
|
@ -13,6 +13,7 @@ shared_module('irc_proxy',
|
|||
install : true,
|
||||
install_dir : moduledir,
|
||||
dependencies : dep,
|
||||
override_options : ['b_lundef=false'],
|
||||
)
|
||||
|
||||
# noinst_headers = files(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue