diff Python/dynload_shlib.c @ 15036:6e9ff060a728 legacy-trunk

SF "bug" 115973: patches from Norman Vine so that shared libraries and Tkinter work under Cygwin. Accepted on faith & reasonableness.
author Tim Peters <tim.peters@gmail.com>
date Thu, 05 Oct 2000 19:24:26 +0000
parents 6f6f965c5e2d
children bbc991ab6d32
line wrap: on
line diff
--- a/Python/dynload_shlib.c	Thu Oct 05 18:48:12 2000 +0000
+++ b/Python/dynload_shlib.c	Thu Oct 05 19:24:26 2000 +0000
@@ -22,8 +22,13 @@
 
 
 const struct filedescr _PyImport_DynLoadFiletab[] = {
+#ifdef __CYGWIN__
+	{".pyd", "rb", C_EXTENSION},
+	{".dll", "rb", C_EXTENSION},
+#else
 	{".so", "rb", C_EXTENSION},
 	{"module.so", "rb", C_EXTENSION},
+#endif
 	{0, 0}
 };