summarylogtreecommitdiffstats
path: root/0075-3.7-mpdec-mingw.patch
diff options
context:
space:
mode:
Diffstat (limited to '0075-3.7-mpdec-mingw.patch')
-rw-r--r--0075-3.7-mpdec-mingw.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0075-3.7-mpdec-mingw.patch b/0075-3.7-mpdec-mingw.patch
new file mode 100644
index 000000000000..ede7f5473b49
--- /dev/null
+++ b/0075-3.7-mpdec-mingw.patch
@@ -0,0 +1,26 @@
+From 0669b928b1aeaedc039a0c7bc1e688b4190fdf8e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?=
+ <alexey.pawlow@gmail.com>
+Date: Thu, 17 Jun 2021 18:52:17 +0530
+Subject: [PATCH 075/N] 3.7 mpdec mingw
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index a709723..79111ab 100644
+--- a/setup.py
++++ b/setup.py
+@@ -2283,7 +2283,7 @@ class PyBuildExt(build_ext):
+ undef_macros = []
+ if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
+ include_dirs = []
+- libraries = [':libmpdec.so.2']
++ libraries = [':libmpdec.dll.a']
+ sources = ['_decimal/_decimal.c']
+ depends = ['_decimal/docstrings.h']
+ else:
+--
+2.32.0
+