From 318ab63c01f5b8e7562b122ab5ba01258a51277b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20B=C3=A9langer?= Date: Thu, 1 Nov 2018 19:49:46 -0700 Subject: closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289) This could cause compile errors on macOS or other platforms. --- Misc/NEWS.d/next/Build/2018-11-01-15-01-23.bpo-35139.XZTttb.rst | 1 + Modules/Setup | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Build/2018-11-01-15-01-23.bpo-35139.XZTttb.rst diff --git a/Misc/NEWS.d/next/Build/2018-11-01-15-01-23.bpo-35139.XZTttb.rst b/Misc/NEWS.d/next/Build/2018-11-01-15-01-23.bpo-35139.XZTttb.rst new file mode 100644 index 0000000..aa65088 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2018-11-01-15-01-23.bpo-35139.XZTttb.rst @@ -0,0 +1 @@ +Fix a compiler error when statically linking `pyexpat` in `Modules/Setup`. diff --git a/Modules/Setup b/Modules/Setup index c180463..e2b5f86 100644 --- a/Modules/Setup +++ b/Modules/Setup @@ -336,7 +336,7 @@ _symtable symtablemodule.c # Interface to the Expat XML parser # More information on Expat can be found at www.libexpat.org. # -#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI +#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI # Hye-Shik Chang's CJKCodecs -- cgit v0.12