diff --git a/ChangeLog b/ChangeLog index def7c4a6..6d34eba6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-08 Joerg Wunsch + + * configure.ac: Preserve ${LDFLAGS} inherited from environment + for Win32 environments. + 2006-11-07 Joerg Wunsch * configure.ac: Don't pretend --enable-doc were the default. diff --git a/configure.ac b/configure.ac index 83df5408..555f7d18 100644 --- a/configure.ac +++ b/configure.ac @@ -193,7 +193,7 @@ case $target in *-*-mingw32* | *-*-cygwin* | *-*-windows*) WINDOWS_DIRS="windows" CFLAGS="-mno-cygwin -DWIN32NATIVE" - LDFLAGS="-static" + LDFLAGS="${LDFLAGS} -static" ;; esac AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS)