mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
bpo-44394: Ensure libexpat is linked against libm (GH-28617)
This commit is contained in:
parent
f76889a887
commit
6c1154b9de
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
@ -1767,7 +1767,9 @@ class PyBuildExt(build_ext):
|
|||
('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…
Add table
Add a link
Reference in a new issue