summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-08-18 21:43:54 (GMT)
committerGitHub <noreply@github.com>2017-08-18 21:43:54 (GMT)
commit93d0cb58b4da2a88c56f472c6c19491cc7a390df (patch)
treefb322e20a1808ece6a5fa3d9f3fb2a1c7f53bc14 /setup.py
parentc99d41f9c0304fcf06550515c3db55f93a629e9e (diff)
downloadcpython-93d0cb58b4da2a88c56f472c6c19491cc7a390df.zip
cpython-93d0cb58b4da2a88c56f472c6c19491cc7a390df.tar.gz
cpython-93d0cb58b4da2a88c56f472c6c19491cc7a390df.tar.bz2
bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106)
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3 * Add NEWS entry * Add new loadlibrary.c * expat_external.h: restore include "pyexpatns.h" * PCbuild: add expat/loadlibrary.c * Define XML_POOR_ENTROPY to compile expat
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 41aad82..f3c2538 100644
--- a/setup.py
+++ b/setup.py
@@ -1525,6 +1525,9 @@ class PyBuildExt(build_ext):
expat_inc = [os.path.join(os.getcwd(), srcdir, 'Modules', 'expat')]
define_macros = [
('HAVE_EXPAT_CONFIG_H', '1'),
+ # bpo-30947: Python uses best available entropy sources to
+ # call XML_SetHashSalt(), expat entropy sources are not needed
+ ('XML_POOR_ENTROPY', '1'),
]
expat_lib = []
expat_sources = ['expat/xmlparse.c',