--- bindings/perl/Makefile.PL.in.orig 2009-07-13 17:43:26.000000000 +0200 +++ bindings/perl/Makefile.PL.in 2010-05-27 18:19:22.000000000 +0200 @@ -7,7 +7,7 @@ my %attributs = (NAME => 'PreludeDB', INC => '-I@top_srcdir@/src/include @LIBPRELUDE_CFLAGS@ @LIBPRELUDE_PTHREAD_CFLAGS@', LIBS => ["-L@top_builddir@/src/.libs -lpreludedb", "-L$ENV{LIBDIR} -lpreludedb @LIBPRELUDE_LIBS@" ], - LDDLFLAGS => "@LIBPRELUDE_LDFLAGS@ @LIBPRELUDE_PTHREAD_CFLAGS@ $Config{lddlflags}"); + LDDLFLAGS => "@LDFLAGS@ @LIBPRELUDE_LDFLAGS@ @LIBPRELUDE_PTHREAD_CFLAGS@ $Config{lddlflags}"); if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) { foreach my $filename ( qw/PreludeDB.c PreludeDB.pm/ ) {