diff --git a/configure.in b/configure.in index be1fd288..26f14d3e 100644 --- a/configure.in +++ b/configure.in @@ -495,6 +495,9 @@ if test "$want_perl" != "no"; then AC_SUBST(perl_static_fe_lib) AC_SUBST(PERL_LIBTOOL) + AC_SUBST(PERL_LINK_LIBS) + AC_SUBST(PERL_FE_LINK_LIBS) + AC_SUBST(PERL_LDFLAGS) AC_SUBST(PERL_CFLAGS) AC_SUBST(PERL_LIB_DIR) diff --git a/src/fe-none/Makefile.am b/src/fe-none/Makefile.am index 7d276128..d908388c 100644 --- a/src/fe-none/Makefile.am +++ b/src/fe-none/Makefile.am @@ -12,6 +12,7 @@ botti_DEPENDENCIES = @COMMON_NOUI_LIBS@ botti_LDADD = \ @COMMON_NOUI_LIBS@ \ + @PERL_LINK_LIBS@ \ $(PROG_LIBS) botti_SOURCES = \ diff --git a/src/fe-text/Makefile.am b/src/fe-text/Makefile.am index 19a616c1..54c85809 100644 --- a/src/fe-text/Makefile.am +++ b/src/fe-text/Makefile.am @@ -14,6 +14,8 @@ irssi_DEPENDENCIES = @COMMON_LIBS@ irssi_LDADD = \ @COMMON_LIBS@ \ + @PERL_LINK_LIBS@ \ + @PERL_FE_LINK_LIBS@ \ $(PROG_LIBS) \ $(CURSES_LIBS)