mirror of https://github.com/python/cpython.git
bpo-44394: Ensure libexpat is linked against libm (GH-28617)
(cherry picked from commit 6c1154b9de29e1c9cd3d05f5289543e5cff73895) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
This commit is contained in:
parent
7bff4d396f
commit
fafa213870
4
setup.py
4
setup.py
|
@ -1686,7 +1686,9 @@ def detect_expat_elementtree(self):
|
|||
('XML_POOR_ENTROPY', '1'),
|
||||
]
|
||||
extra_compile_args = []
|
||||
expat_lib = []
|
||||
# bpo-44394: libexpact uses isnan() of math.h and needs linkage
|
||||
# against the libm
|
||||
expat_lib = ['m']
|
||||
expat_sources = ['expat/xmlparse.c',
|
||||
'expat/xmlrole.c',
|
||||
'expat/xmltok.c']
|
||||
|
|
Loading…
Reference in New Issue