--- Makeconf.in.orig 2010-03-06 09:02:46.000000000 +0000 +++ Makeconf.in 2010-03-06 09:23:06.000000000 +0000 @@ -209,10 +209,10 @@ BUILD_LDFLAGS = @BUILD_LDFLAGS@ SH_LD = @SH_LD@ -SH_LDFLAGS = @SH_LDFLAGS@ +SH_LDFLAGS = @SH_LDFLAGS@ @LDFLAGS@ DL_LD = @DL_LD@ -DL_LDFLAGS = @DL_LDFLAGS@ +DL_LDFLAGS = @DL_LDFLAGS@ @LDFLAGS@ SONAME_FLAGS = @SONAME_FLAGS@