mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
b69074bb39
commit
4594b0c4cf
@ -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 #
|
||||
##################
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user