Files
MINGW-packages/mingw-w64-python3/0930-mingw-w64-build-overlapped-module.patch
2015-06-07 10:56:20 +01:00

14 lines
543 B
Diff

--- Python-3.4.3/setup.py.orig 2015-06-06 18:25:01.420100800 +0100
+++ Python-3.4.3/setup.py 2015-06-07 09:09:55.336907600 +0100
@@ -1612,6 +1612,10 @@
'-framework', 'CoreFoundation',
]))
+ if host_platform.startswith(('mingw', 'win')):
+ exts.append( Extension('_overlapped', ['overlapped.c'],
+ libraries=['ws2_32']))
+
self.extensions.extend(exts)
# Call the method for detecting whether _tkinter can be compiled