diff options
author | Stefan Krah <skrah@bytereef.org> | 2017-12-06 17:24:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-06 17:24:17 (GMT) |
commit | bd4ed77f73d37df325fc8f1e193b3ce6bc08094d (patch) | |
tree | cadaf884d0f82322dedee94abcf6d3b7f387e8fd /setup.py | |
parent | 92a3c6f493ad411e4cf0acdf305ef4876aa90669 (diff) | |
download | cpython-bd4ed77f73d37df325fc8f1e193b3ce6bc08094d.zip cpython-bd4ed77f73d37df325fc8f1e193b3ce6bc08094d.tar.gz cpython-bd4ed77f73d37df325fc8f1e193b3ce6bc08094d.tar.bz2 |
bpo-32233: Fix build with --with-system-libmpdec. (#4739)
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |