diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-10-05 19:24:26 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-10-05 19:24:26 +0000 |
commit | 720a0422a69cd1596ad68491069879fb47088c8a (patch) | |
tree | 9dda62de49e0322cc372719fdb6d090a07b3c463 /Python/dynload_shlib.c | |
parent | 128e7777eaf3cfe21719b50229c5d62eba5cd20d (diff) | |
download | cpython-720a0422a69cd1596ad68491069879fb47088c8a.tar.gz |
SF "bug" 115973: patches from Norman Vine so that shared libraries and
Tkinter work under Cygwin. Accepted on faith & reasonableness.
Diffstat (limited to 'Python/dynload_shlib.c')
-rw-r--r-- | Python/dynload_shlib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 16f15d9a81..2b0e74ee17 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} }; |