diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-26 13:51:11 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-26 13:51:11 +0000 |
| commit | babc3ac9106e94605f00be02aa7552f5cd4a45c5 (patch) | |
| tree | 45e070bebc3bba4562ad97d09bdf09eccccd8508 | |
| parent | c21faff7e6f41e8ce0db7b0f2b9b3548c12d56f5 (diff) | |
Binding perl: fix include paths in the makefile, again
| -rw-r--r-- | bindings/perl/Makefile.PL | 2 | ||||
| -rw-r--r-- | bindings/perl/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/perl/Makefile.PL b/bindings/perl/Makefile.PL index d921d6da..0a46d2e0 100644 --- a/bindings/perl/Makefile.PL +++ b/bindings/perl/Makefile.PL @@ -23,7 +23,7 @@ WriteMakefile( ( AUTHOR => 'Benjamin Dauvergne <bdauvergne@entrouvert.com>') : ()), LIBS => ["-L$TOP_SRCDIR/lasso/.libs -llasso"], # e.g., '-lm' DEFINE => '', # e.g., '-DHAVE_SOMETHING' - INC => "-I. -I$SRCDIR -I$TOP_SRCDIR -I../../ $CFLAGS", # e.g., '-I. -I/usr/include/other' + INC => "-I. -I$SRCDIR -I$SRCDIR/../.. -I$TOP_BUILDDIR $CFLAGS", # e.g., '-I. -I/usr/include/other' # Un-comment this if you add C files to link with later: OBJECT => 'Lasso.o', # link all the C files too MAKEFILE => 'Makefile.perl', diff --git a/bindings/perl/Makefile.am b/bindings/perl/Makefile.am index e097cd75..9a691612 100644 --- a/bindings/perl/Makefile.am +++ b/bindings/perl/Makefile.am @@ -20,7 +20,7 @@ EXTRA_ARGS = --enable-id-wsf endif Makefile.perl: $(srcdir)/Makefile.PL Lasso.xs Lasso.pm - CFLAGS="$(LASSO_XS_CFLAGS)" TOP_SRCDIR="$(top_srcdir)" TOP_BUILDDIR="$(top_builddir)" \ + CFLAGS="$(LASSO_XS_CFLAGS)" TOP_BUILDDIR="$(top_builddir)" \ SRCDIR="$(srcdir)" BUILDDIR=./ $(PERL) $(srcdir)/Makefile.PL PREFIX=$(prefix) -if [ "$(srcdir)" != "$(builddir)" ]; then \ |
