[Python-checkins] cpython (3.6): Issue29439: _decimal on Android requires linking with libm.

stefan.krah python-checkins at python.org
Sat Feb 4 08:59:40 EST 2017


https://hg.python.org/cpython/rev/b60b46ad8751
changeset:   106416:b60b46ad8751
branch:      3.6
parent:      106407:b8fc4de84b9a
user:        Stefan Krah <skrah at bytereef.org>
date:        Sat Feb 04 14:58:50 2017 +0100
summary:
  Issue29439: _decimal on Android requires linking with libm.
Patch by Chi Hsuan Yen.

files:
  setup.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -2064,7 +2064,7 @@
                                                          'Modules',
                                                          '_decimal',
                                                          'libmpdec'))]
-            libraries = []
+            libraries = self.detect_math_libs()
             sources = [
               '_decimal/_decimal.c',
               '_decimal/libmpdec/basearith.c',

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list