summarylogtreecommitdiffstats
path: root/0063-3.7-mpdec-mingw.patch
diff options
context:
space:
mode:
Diffstat (limited to '0063-3.7-mpdec-mingw.patch')
-rw-r--r--0063-3.7-mpdec-mingw.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0063-3.7-mpdec-mingw.patch b/0063-3.7-mpdec-mingw.patch
new file mode 100644
index 000000000000..6053fd453831
--- /dev/null
+++ b/0063-3.7-mpdec-mingw.patch
@@ -0,0 +1,26 @@
+From a15d5dafd3604b7f6ddb3fa99dd26ec0757024a9 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 063/N] 3.7 mpdec mingw
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 74b844c..a4222fc 100644
+--- a/setup.py
++++ b/setup.py
+@@ -2291,7 +2291,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.33.0
+