summaryrefslogtreecommitdiff
path: root/lang/python37/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python37/files/patch-setup.py')
-rw-r--r--lang/python37/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python37/files/patch-setup.py b/lang/python37/files/patch-setup.py
new file mode 100644
index 000000000000..1121e27d82e3
--- /dev/null
+++ b/lang/python37/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2021-02-17 21:21:03 UTC
++++ setup.py
+@@ -2057,7 +2057,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 = ['mpdec']
+ sources = ['_decimal/_decimal.c']
+ depends = ['_decimal/docstrings.h']
+ else: