From c5add0e0a42f75c216565cedf5e39532c56f33bb Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 4 Oct 2000 00:22:59 +0000 Subject: 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 --- src/perl/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3