]> granicus.if.org Git - recode/commitdiff
Fix Cython file extension on mingw64: seems to be .dll now, not .pyd
authorReuben Thomas <rrt@sc3d.org>
Thu, 12 Sep 2019 21:35:03 +0000 (22:35 +0100)
committerReuben Thomas <rrt@sc3d.org>
Thu, 12 Sep 2019 21:35:03 +0000 (22:35 +0100)
configure.ac
tests/Makefile.am

index 81d2c41000fa2f9d68204abbcbd59810323ba3da..278052238e6a0a84259f719578d386259f0b23c7 100644 (file)
@@ -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])
 
index 5890c37d0dba2b0395255b4b2c63a18af7f43303..41d541dec39c3cbe626d584bd8f4acdef934156a 100644 (file)
@@ -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: