From: Tobias Brunner Date: Fri, 28 Feb 2025 10:55:46 +0000 (+0100) Subject: vici: Fix out-of-tree builds with Perl module enabled X-Git-Tag: 6.0.1rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e385a83f5e8122450ae854d00f1e3b7d6b3eaf6f;p=thirdparty%2Fstrongswan.git vici: Fix out-of-tree builds with Perl module enabled Not really building it out-of-tree for now, though. --- diff --git a/src/libcharon/plugins/vici/perl/Makefile.am b/src/libcharon/plugins/vici/perl/Makefile.am index 9bc6262ac6..a735cf2a56 100644 --- a/src/libcharon/plugins/vici/perl/Makefile.am +++ b/src/libcharon/plugins/vici/perl/Makefile.am @@ -11,17 +11,16 @@ EXTRA_DIST = \ all-local: Vici-Session/pm_to_blib -Vici-Session/Makefile: $(srcdir)/Vici-Session/Makefile.PL +$(srcdir)/Vici-Session/Makefile: $(srcdir)/Vici-Session/Makefile.PL (cd $(srcdir)/Vici-Session; $(PERL) Makefile.PL) -Vici-Session/pm_to_blib: $(EXTRA_DIST) $(srcdir)/Vici-Session/Makefile +$(srcdir)/Vici-Session/pm_to_blib: $(EXTRA_DIST) $(srcdir)/Vici-Session/Makefile (cd $(srcdir)/Vici-Session; make) clean-local: (cd $(srcdir)/Vici-Session; [ ! -f Makefile ] || make clean) if PERL_CPAN_INSTALL -install-exec-local: Vici-Session/pm_to_blib +install-exec-local: $(srcdir)/Vici-Session/pm_to_blib (cd $(srcdir)/Vici-Session; make install) endif -