summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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