diff Python/dynload_shlib.c @ 15806:3b9b8f2ddfe7 legacy-trunk

Oops, one more part of the cygwin patch (SF patch #102409 by jlt63: Cygwin Python DLL and Shared Extension Patch). Add module.dll as a valid extension. jlt63 writes: Note that his change essentially backs out the fix for bug #115973. Should ".pyd" be retained instead for posterity?
author Guido van Rossum <guido@python.org>
date Wed, 10 Jan 2001 21:17:27 +0000
parents bbc991ab6d32
children 11cb3de0823d 064de84385ca
line wrap: on
line diff
--- a/Python/dynload_shlib.c	Wed Jan 10 21:12:18 2001 +0000
+++ b/Python/dynload_shlib.c	Wed Jan 10 21:17:27 2001 +0000
@@ -29,8 +29,8 @@
 
 const struct filedescr _PyImport_DynLoadFiletab[] = {
 #ifdef __CYGWIN__
-	{".pyd", "rb", C_EXTENSION},
 	{".dll", "rb", C_EXTENSION},
+	{"module.dll", "rb", C_EXTENSION},
 #else
 	{".so", "rb", C_EXTENSION},
 	{"module.so", "rb", C_EXTENSION},