commit | 99e85fb5c901eea75c0165b7111ab7619fa12a31 | [log] [tgz] |
---|---|---|
author | Christoph Reiter <reiter.christoph@gmail.com> | Wed Jun 21 14:15:02 2023 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Aug 09 14:31:18 2023 +0200 |
tree | 30c5b962c65bb5b4fddc5d150eacbcf1aedd0998 | |
parent | b845d58bebf2a838a31a9cd1d6ff75769d29e8c4 [diff] |
autotools: fix Python module file ext for cygwin/msys2 both use .dll, not .pyd
diff --git a/configure.ac b/configure.ac index c6d1715..a53fc8b 100644 --- a/configure.ac +++ b/configure.ac
@@ -767,9 +767,12 @@ 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)