summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-05-25 04:49:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-05-25 04:49:17 +0000
commit2c0d86b61bfac5f07a49982fa3c01c47f1602553 (patch)
treed55a47301b3adea7a38c2243c55a3eadc20a6636 /setup.py
parentReleasing progress-linux version 3.7.0~a3-4~dschinn1. (diff)
downloadpython3.7-2c0d86b61bfac5f07a49982fa3c01c47f1602553.zip
python3.7-2c0d86b61bfac5f07a49982fa3c01c47f1602553.tar.xz
Merging upstream version 3.7.0~a4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index c22de17..f1933f7 100644
--- a/setup.py
+++ b/setup.py
@@ -1399,7 +1399,7 @@ class PyBuildExt(build_ext):
if host_platform == 'darwin':
# On OS X, there is no separate /usr/lib/libncursesw nor
# libpanelw. If we are here, we found a locally-supplied
- # version of libncursesw. There should be also be a
+ # version of libncursesw. There should also be a
# libpanelw. _XOPEN_SOURCE defines are usually excluded
# for OS X but we need _XOPEN_SOURCE_EXTENDED here for
# ncurses wide char support
@@ -2069,6 +2069,7 @@ class PyBuildExt(build_ext):
'Modules',
'_decimal',
'libmpdec'))]
+ libraries = ['m']
sources = [
'_decimal/_decimal.c',
'_decimal/libmpdec/basearith.c',
@@ -2164,7 +2165,7 @@ class PyBuildExt(build_ext):
ext = Extension (
'_decimal',
include_dirs=include_dirs,
- libraries=['m'],
+ libraries=libraries,
define_macros=define_macros,
undef_macros=undef_macros,
extra_compile_args=extra_compile_args,