summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-03-06 18:43:39 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-03-06 18:43:39 +0000
commitabb28cae201b26d29fdc129b0562a35edb613696 (patch)
tree6f26b429139c4fd0b795c665bdf8fa63eb2e402e /src
parent2e81e13842a26e0e94fffd8a8fb41e64c65c501c (diff)
downloadirssi-abb28cae201b26d29fdc129b0562a35edb613696.zip
Add libtool's -module flag to get built properly on all platforms, by Toby Peterson (Bug 212)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3714 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/irc/proxy/Makefile.am2
-rw-r--r--src/perl/Makefile.am4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/irc/proxy/Makefile.am b/src/irc/proxy/Makefile.am
index d3197a4b..4e6d97a4 100644
--- a/src/irc/proxy/Makefile.am
+++ b/src/irc/proxy/Makefile.am
@@ -11,6 +11,8 @@ libirc_proxy.a:
rm -f libirc_proxy.a
$(LN_S) .libs/libirc_proxy.a libirc_proxy.a
+libirc_proxy_la_LDFLAGS = -module
+
libirc_proxy_la_DEPENDENCIES = libirc_proxy.a
libirc_proxy_la_SOURCES = \
diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am
index 53b8fc4d..7f58810d 100644
--- a/src/perl/Makefile.am
+++ b/src/perl/Makefile.am
@@ -10,8 +10,8 @@ EXTRA_LTLIBRARIES = \
libperl_core.la libfe_perl.la \
libperl_core_static.la libfe_perl_static.la
-libperl_core_la_LDFLAGS = -avoid-version -rpath $(moduledir)
-libfe_perl_la_LDFLAGS = -avoid-version -rpath $(moduledir)
+libperl_core_la_LDFLAGS = -module -avoid-version -rpath $(moduledir)
+libfe_perl_la_LDFLAGS = -module -avoid-version -rpath $(moduledir)
perl-core.c: perl-signals-list.h irssi-core.pl.h