mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
Perl's ldflags usually include at least -lm and maybe some others too.
But in some OSes adding shared library dependencies to other shared libs don't work (or maybe I'd need to do something differently :), so check in configure that if it doesn't work, perl is never even tried to be built as module. On the other hand, if it does work irssi now links with libperl.so if it's found instead of libperl.a which was always used before. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1035 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4a33801669
commit
d304bc65ca
2 changed files with 91 additions and 18 deletions
|
|
@ -26,7 +26,7 @@ libperl_la_DEPENDENCIES = .libs/libperl_orig.a .libs/DynaLoader.a
|
|||
.libs/libperl_orig.a:
|
||||
if [ ! -d .libs ]; then mkdir .libs; fi
|
||||
rm -f .libs/libperl_orig.a
|
||||
$(LN_S) $(LIBPERL_A) .libs/libperl_orig.a
|
||||
if [ x$(LIBPERL_A) = x ]; then touch .libs/libperl_orig.a; else $(LN_S) $(LIBPERL_A) .libs/libperl_orig.a; fi
|
||||
.libs/DynaLoader.a:
|
||||
if [ ! -d .libs ]; then mkdir .libs; fi
|
||||
rm -f .libs/DynaLoader.a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue