[issue45800] Move expat handling into configure and Makefile

2021-11-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset 464e6616be86129e33af6d9e43540c260d6804d5 by Christian Heimes in branch 'main': bpo-45800: Move pyexpat build setup into configure (GH-29547) https://github.com/python/cpython/commit/464e6616be86129e33af6d9e43540c260d6804d5 --

[issue45800] Move expat handling into configure and Makefile

2021-11-14 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45800] Move expat handling into configure and Makefile

2021-11-13 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27796 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29547 ___ Python tracker

[issue45800] Move expat handling into configure and Makefile

2021-11-13 Thread Christian Heimes
Christian Heimes added the comment: An intermediate libexpat.a simplifies Modules/Setup. The explicit rules are required to support BSD make. bmake does neither have "%.o: %.c" nor target variable overrides like GNU make. -- ___ Python tracker

[issue45800] Move expat handling into configure and Makefile

2021-11-13 Thread Christian Heimes
New submission from Christian Heimes : 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