From a3070e76b09d39e9e2b9b80ebb69cd0186d3cae2 Mon Sep 17 00:00:00 2001 From: "J. Peter Mugaas" Date: Wed, 25 Jul 2018 04:34:54 -0400 Subject: [PATCH] Add patch I forgot to comit (#4103) --- mingw-w64-python2-mysql/fix-mingw.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mingw-w64-python2-mysql/fix-mingw.patch diff --git a/mingw-w64-python2-mysql/fix-mingw.patch b/mingw-w64-python2-mysql/fix-mingw.patch new file mode 100644 index 0000000000..ace8bbf24b --- /dev/null +++ b/mingw-w64-python2-mysql/fix-mingw.patch @@ -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'):