--- Makefile.PL~ 2008-01-29 22:05:08.000000000 +0100 +++ Makefile.PL 2008-09-10 19:58:35.617972936 +0200 @@ -290,9 +290,14 @@ # -------------------------------------------------------------------------- # # _NOW_ write the Makefile + +my $myLDFLAGS = $ENV{LDFLAGS}; +my $LDDLFLAGS= join ' ', $Config{lddlflags},$myLDFLAGS; + WriteMakefile( %INFOS, %config, + LDDLFLAGS => $LDDLFLAGS, ); # -------------------------------------------------------------------------- #