summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-08-18 23:06:27 (GMT)
committerGitHub <noreply@github.com>2017-08-18 23:06:27 (GMT)
commit83e37e16f3065086d721d4e62a3788e01db3431c (patch)
tree1c310cda2c2b073d9054f3b528928ad7091cc18c /setup.py
parentff64a24c67fcd20bef9305db306b5026990d412b (diff)
downloadcpython-83e37e16f3065086d721d4e62a3788e01db3431c.zip
cpython-83e37e16f3065086d721d4e62a3788e01db3431c.tar.gz
cpython-83e37e16f3065086d721d4e62a3788e01db3431c.tar.bz2
bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3143)
* 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 (cherry picked from commit 93d0cb58b4da2a88c56f472c6c19491cc7a390df)
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 fe47797..1cd1503 100644
--- a/setup.py
+++ b/setup.py
@@ -1503,6 +1503,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',