Files
MINGW-packages/mingw-w64-python2/0070-python-disable-dbm.patch
2013-11-29 14:55:41 +04:00

13 lines
520 B
Diff

diff -urN a/setup.py b/setup.py
--- a/setup.py 2013-05-17 23:57:37.265452766 +0100
+++ b/setup.py 2013-05-17 23:57:37.638457042 +0100
@@ -1324,7 +1324,7 @@
dbm_order = ['gdbm']
# The standard Unix dbm module:
- if host_platform not in ['cygwin']:
+ if host_platform not in ['cygwin', 'mingw', 'win32']:
config_args = [arg.strip("'")
for arg in sysconfig.get_config_var("CONFIG_ARGS").split()]
dbm_args = [arg for arg in config_args