summarylogtreecommitdiffstats
path: root/0063-3.7-mpdec-mingw.patch
diff options
context:
space:
mode:
authoratomlong2021-10-23 17:55:22 +0800
committeratomlong2021-10-23 18:06:15 +0800
commit80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch)
treeb48dd1e73de9ea35a4709fb6b93deb16331ec514 /0063-3.7-mpdec-mingw.patch
parent89a67c05174951d172252b1db96ff93cc4ec4bcd (diff)
downloadaur-mingw-w64-python.tar.gz
update to 3.9.7
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
+