Issue29439: _decimal on Android requires linking with libm.

Patch by Chi Hsuan Yen.
This commit is contained in:
Stefan Krah 2017-02-04 14:58:50 +01:00
parent ed4de13f06
commit 75c0d4f6bb

View file

@ -2064,7 +2064,7 @@ class PyBuildExt(build_ext):
'Modules',
'_decimal',
'libmpdec'))]
libraries = []
libraries = self.detect_math_libs()
sources = [
'_decimal/_decimal.c',
'_decimal/libmpdec/basearith.c',