diff options
author | Timo Sirainen <cras@irssi.org> | 2000-10-04 00:22:59 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-10-04 00:22:59 +0000 |
commit | c5add0e0a42f75c216565cedf5e39532c56f33bb (patch) | |
tree | 4b3717b03b46a18bc9b0badc61ce02286112386c /src/perl | |
parent | f6a284af37ec2eca77abf36284107bd18c3444e7 (diff) | |
download | irssi-c5add0e0a42f75c216565cedf5e39532c56f33bb.zip |
Create libtool-static for creating irssi modules that don't need .a
libraries.
Small update to curses's help
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@719 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am index 860732b8..8e2d2df4 100644 --- a/src/perl/Makefile.am +++ b/src/perl/Makefile.am @@ -1,3 +1,5 @@ +LIBTOOL = $(PERL_LIBTOOL) + moduledir = $(libdir)/irssi/modules module_LTLIBRARIES = $(module_lib) @@ -22,9 +24,13 @@ perl_sources = \ libperl_la_DEPENDENCIES = .libs/libperl_orig.a .libs/DynaLoader.a .libs/libperl_orig.a: - ln -sf $(LIBPERL_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 .libs/DynaLoader.a: - ln -sf $(DYNALOADER_A) .libs/DynaLoader.a + if [ ! -d .libs ]; then mkdir .libs; fi + rm -f .libs/DynaLoader.a + $(LN_S) $(DYNALOADER_A) .libs/DynaLoader.a libperl_la_SOURCES = \ $(perl_sources) |