summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-10-05 19:24:26 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-10-05 19:24:26 (GMT)
commit98dc065c1b96705d42c4853fdb28ff5ae64093b9 (patch)
treeea19cd515600aeffccdeadb665a2076a6673cb52 /Python
parent293b03f73f5ad48719a0f07fb45857182dfb1d51 (diff)
downloadcpython-98dc065c1b96705d42c4853fdb28ff5ae64093b9.zip
cpython-98dc065c1b96705d42c4853fdb28ff5ae64093b9.tar.gz
cpython-98dc065c1b96705d42c4853fdb28ff5ae64093b9.tar.bz2
SF "bug" 115973: patches from Norman Vine so that shared libraries and
Tkinter work under Cygwin. Accepted on faith & reasonableness.
Diffstat (limited to 'Python')
-rw-r--r--Python/dynload_shlib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c
index 16f15d9..2b0e74e 100644
--- a/Python/dynload_shlib.c
+++ b/Python/dynload_shlib.c
@@ -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}
};