This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2021-11-13.15:37:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636817875.39.0.335173778255.issue45800@roundup.psfhosted.org>
In-reply-to
Content
Move logic for --with-system-expat out of setup.py into configure and Makefile. This will enable --with-system-expat in Modules/Setup without manual patching.

* Set CFLAGS and LDFLAGS for pyexpat and libexpat in configure.
* Build a static libexpat.a from our copy of expat when --with-system-expat is not given
* Either link pyexpat with libexpat.a or system libexpat.

Basically use the same approach as decimal changeset bpo-45798.
History
Date User Action Args
2021-11-13 15:37:55christian.heimessetrecipients: + christian.heimes
2021-11-13 15:37:55christian.heimessetmessageid: <1636817875.39.0.335173778255.issue45800@roundup.psfhosted.org>
2021-11-13 15:37:55christian.heimeslinkissue45800 messages
2021-11-13 15:37:55christian.heimescreate