1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-25 10:50:08 +03:00

autotools: fix Python module file ext for cygwin/msys2

both use .dll, not .pyd
This commit is contained in:
Christoph Reiter 2023-06-21 14:15:02 +02:00
parent 5f54bac9eb
commit 2473b4855e

View File

@ -767,9 +767,12 @@ dnl
PYTHON_LDFLAGS=
if test "${PYTHON}" != ""; then
case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-msys* )
*-*-mingw* )
PYTHON_LDFLAGS="-no-undefined -shrext .pyd"
;;
*-*-cygwin* |*-*-msys* )
PYTHON_LDFLAGS="-no-undefined"
;;
esac
fi
AC_SUBST(PYTHON_LDFLAGS)