Add patch I forgot to comit (#4103)
This commit is contained in:
11
mingw-w64-python2-mysql/fix-mingw.patch
Normal file
11
mingw-w64-python2-mysql/fix-mingw.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- MySQL-python-1.2.5/setup_windows.py.orig 2018-07-15 17:06:49.215182100 -0400
|
||||
+++ MySQL-python-1.2.5/setup_windows.py 2018-07-15 17:15:06.862619600 -0400
|
||||
@@ -17,7 +17,7 @@ def get_config():
|
||||
library_dirs = [ os.path.join(connector, r'lib\opt') ]
|
||||
libraries = [ 'kernel32', 'advapi32', 'wsock32', client ]
|
||||
include_dirs = [ os.path.join(connector, r'include') ]
|
||||
- extra_compile_args = [ '/Zl' ]
|
||||
+ extra_compile_args = [ '-Z' ]
|
||||
|
||||
name = "MySQL-python"
|
||||
if enabled(options, 'embedded'):
|
||||
Reference in New Issue
Block a user