diff options
-rw-r--r-- | perl/Makefile.PL | 3 | ||||
-rw-r--r-- | perl/Makefile.am | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/perl/Makefile.PL b/perl/Makefile.PL index 4c93b007..dc63ad87 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -13,7 +13,8 @@ if(-r '../lasso-src-config') { $objects .= $lasso_libs; } -my $includes="-I$TOP_SRCDIR/lasso"; +my $includes="-I$TOP_BUILDDIR -I$TOP_SRCDIR"; +print $includes; my $version=$ENV{VERSION}; # I'm forced to do this since BASEEXT is defined in a non-overridable method. diff --git a/perl/Makefile.am b/perl/Makefile.am index 22475025..266649b7 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -22,7 +22,7 @@ $(PERL_MAKEFILE): lasso.pm lasso_wrap.c test -e Makefile.PL || test ! -e $(srcdir)/Makefile.PL || $(LN_S) $(srcdir)/Makefile.PL . test -e lasso_wrap.c || test ! -e $(srcdir)/lasso_wrap.c || $(LN_S) $(srcdir)/lasso_wrap.c . test -e lasso.pm || test ! -e $(srcdir)/lasso.pm || $(LN_S) $(srcdir)/lasso.pm . - VERSION=$(VERSION) CC=$(CC) CFLAGS="$(AM_CPPFLAGS) $(AM_CFLAGS) $(SWIG_OPTS) $(CPPFLAGS) $(AM_STANDARD_CFLAGS)" $(PERL) $(srcdir)/Makefile.PL DESTDIR=$(DESTDIR) PREFIX=$(prefix) $(MAKE_PL_OPTS) + VERSION=$(VERSION) CC=$(CC) CFLAGS="$(AM_CPPFLAGS) $(AM_CFLAGS) $(SWIG_OPTS) $(CPPFLAGS) $(AM_STANDARD_CFLAGS)" $(PERL) $(srcdir)/Makefile.PL DESTDIR=$(DESTDIR) PREFIX=$(prefix) $(MAKE_PL_OPTS) TOP_SRCDIR=$(top_srcdir) TOP_BUILDDIR=$(top_builddir) -perl install-perl: $(PERL_MAKEFILE) target=`echo $@ | sed -e 's/-perl//'`; \ |