diff --git a/configure.ac b/configure.ac index 832c1fd2e95..95f1cf1c7df 100644 --- a/configure.ac +++ b/configure.ac @@ -2005,7 +2005,7 @@ else # Cygwin (Windows) needs the library for dynamic linking case $host in - *-*-cygwin* | *-*-mingw*) + *-*-cygwin* | *-*-mingw* | *-*-msys*) PYTHONDYNAMICLINKING="$PYLIB $PYLINK" DEFS="-DUSE_DL_IMPORT $DEFS" ;; @@ -2184,7 +2184,7 @@ else # Cygwin (Windows) needs the library for dynamic linking case $host in - *-*-cygwin* | *-*-mingw*) + *-*-cygwin* | *-*-mingw* | *-*-msys*) # PYTHON3DYNAMICLINKING ought to be replaced by $PY3CONFIG --ldflags PYTHON3DYNAMICLINKING="$PY3LIB $PY3LINK" DEFS="-DUSE_DL_IMPORT $DEFS"