1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

add android cross link deps

This commit is contained in:
Ailin Nemui 2022-02-16 20:27:32 +01:00
parent 89bcff606f
commit 2e6c376342
8 changed files with 25 additions and 4 deletions

View File

@ -20,6 +20,7 @@ libfe_irc_dcc_a = static_library('fe_irc_dcc',
shared_module('fe_irc_dcc',
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_dcc,
link_whole : libfe_irc_dcc_a)
install_headers(

View File

@ -33,6 +33,7 @@ libfe_common_irc_a = static_library('fe_common_irc',
shared_module('fe_common_irc',
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_core,
link_whole : libfe_common_irc_a)
install_headers(

View File

@ -15,6 +15,7 @@ libfe_irc_notifylist_a = static_library('fe_irc_notifylist',
shared_module('fe_irc_notifylist',
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_notifylist,
link_whole : libfe_irc_notifylist_a)
install_headers(

View File

@ -38,11 +38,16 @@ libirc_core_a = static_library('irc_core',
def_sysconfdir,
],
dependencies : dep)
shared_module('irc_core',
libirc_core_sm = shared_module('irc_core',
install : true,
install_dir : moduledir,
link_whole : libirc_core_a)
dl_cross_irc_core = []
if need_dl_cross_link
dl_cross_irc_core += libirc_core_sm
endif
install_headers(
files(
'bans.h',

View File

@ -1,6 +1,6 @@
# this file is part of irssi
shared_module('irc_dcc',
libirc_dcc_sm = shared_module('irc_dcc',
files(
'dcc-autoget.c',
'dcc-chat.c',
@ -15,8 +15,14 @@ shared_module('irc_dcc',
implicit_include_directories : false,
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_core,
dependencies : dep)
dl_cross_irc_dcc = []
if need_dl_cross_link
dl_cross_irc_dcc += libirc_dcc_sm
endif
install_headers(
files(
'dcc-chat.h',

View File

@ -11,6 +11,7 @@ libirc_flood_a = static_library('irc_flood',
shared_module('irc_flood',
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_core,
link_whole : libirc_flood_a)
install_headers(

View File

@ -1,6 +1,6 @@
# this file is part of irssi
shared_module('irc_notifylist',
libirc_notifylist_sm = shared_module('irc_notifylist',
files(
'notify-commands.c',
'notify-ison.c',
@ -12,8 +12,14 @@ shared_module('irc_notifylist',
implicit_include_directories : false,
install : true,
install_dir : moduledir,
link_with : dl_cross_irc_core,
dependencies : dep)
dl_cross_irc_notifylist = []
if need_dl_cross_link
dl_cross_irc_notifylist += libirc_notifylist_sm
endif
install_headers(
files(
'module.h',

View File

@ -26,7 +26,7 @@ shared_module('Irc',
include_directories : rootinc,
implicit_include_directories : true,
dependencies : dep + [ perl_dep ],
link_with : dl_cross_perl_core,
link_with : dl_cross_perl_core + dl_cross_irc_dcc + dl_cross_irc_notifylist,
)
install_headers(