1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-09 06:20:45 +00:00

fix perl module build on openbsd

unfortunately, some mangling is needed to create the correct linker
and compiler invocations
This commit is contained in:
ailin 2020-04-02 04:39:24 +02:00
parent b69074bb39
commit 4594b0c4cf
2 changed files with 8 additions and 1 deletions

View File

@ -406,6 +406,12 @@ if want_capsicum
endif
endif
# dependency helper sets
dep_cflagsonly = []
foreach d : dep
dep_cflagsonly += d.partial_dependency(includes : true, compile_args : true)
endforeach
##################
# irssi-config.h #
##################

View File

@ -35,7 +35,8 @@ shared_module('perl_core',
install_dir : moduledir,
install_rpath : perl_rpath,
build_rpath : perl_rpath,
dependencies : dep + [ perl_dep ],
dependencies : dep_cflagsonly + [ perl_dep ],
override_options : ['b_asneeded=false'],
)
shared_module('fe_perl',