From 6292480be71e9dbc81d19a69bdb45db5b7ff4c03 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 12 Sep 2019 22:35:03 +0100 Subject: [PATCH] Fix Cython file extension on mingw64: seems to be .dll now, not .pyd --- configure.ac | 5 ++--- tests/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 81d2c41..2780522 100644 --- a/configure.ac +++ b/configure.ac @@ -50,9 +50,8 @@ AC_CHECK_PROG([CYTHON], [cython], [cython]) AC_SUBST([objdir]) LT_SYS_MODULE_EXT case $host_os in - *mingw* ) pyextext=.pyd;; - *cygwin*) pyextext=.dll;; - * ) pyextext=.so;; + *mingw*|*cygwin* ) pyextext=.dll;; + * ) pyextext=.so;; esac AC_SUBST([pyextext], [$pyextext]) diff --git a/tests/Makefile.am b/tests/Makefile.am index 5890c37..41d541d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -26,8 +26,8 @@ t30_dumps.py t30_quoted.py t40_african.py t40_combine.py t40_testdump.py \ t40_utf7.py t40_utf8.py t50_methods.py t90_bigauto.py CYTHON = @CYTHON@ -EXTRA_DIST = Recode.c Recode.pyx pytest common.py valgrind-python.supp $(SUITE) -CLEANFILES = Recode@pyextext@ Recode_d@pyextext@ Recode.body.c +EXTRA_DIST = Recode.c Recode.pyx pytest common.py $(SUITE) +CLEANFILES = Recode.body.c DISTCLEANFILES = Recode.c clean-local: -- 2.40.0