From: Reuben Thomas Date: Thu, 12 Sep 2019 21:35:03 +0000 (+0100) Subject: Fix Cython file extension on mingw64: seems to be .dll now, not .pyd X-Git-Tag: v3.7.6~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6292480be71e9dbc81d19a69bdb45db5b7ff4c03;p=recode Fix Cython file extension on mingw64: seems to be .dll now, not .pyd --- 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: