From 909195961bdd6036ac5d959fd1c4c644dc33061a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 15 Jul 2024 08:08:45 +0100 Subject: [PATCH] Add msys host for python linking --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 832c1fd2e9..95f1cf1c7d 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"