SF "bug" 115973: patches from Norman Vine so that shared libraries and
Tkinter work under Cygwin. Accepted on faith & reasonableness.
This commit is contained in:
parent
293b03f73f
commit
98dc065c1b
|
@ -57,7 +57,7 @@ Copyright (C) 1994 Steen Lumholt.
|
|||
#include <Menus.h>
|
||||
#endif
|
||||
|
||||
#if !defined(MS_WINDOWS)
|
||||
#if !(defined(MS_WINDOWS) || defined(__CYGWIN__))
|
||||
#define HAVE_CREATEFILEHANDLER
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue