diff --git a/configure.ac b/configure.ac index b6255f91..13f7a1e7 100644 --- a/configure.ac +++ b/configure.ac @@ -451,7 +451,13 @@ dnl VERSION_SCRIPT_FLAGS= # lt_cv_prog_gnu_ld is from libtool 2.+ if test "$lt_cv_prog_gnu_ld" = yes; then - VERSION_SCRIPT_FLAGS=-Wl,--version-script= + case $host in + *-*-cygwin* | *-*-mingw* | *-*-msys* ) + ;; + *) + VERSION_SCRIPT_FLAGS=-Wl,--version-script= + ;; + esac else case $host in *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;