[pydotorg-www] Edit to moin/BuildStatically

Maxwell Bland mbland at motorola.com
Thu Apr 25 10:29:50 EDT 2024


Hi Python Wiki Maintainers,

I just spent a few hours trying to statically link python2.7 (outdated, but you know how it goes with internal tools) with builtin pyexpat.
The core Setup file unfortunately has the error of appending "-DXML_POOR_ENTROPY=1" rather than "-DXML_POOR_ENTROPY".

There were two critical notes missing from https://wiki.python.org/moin/BuildStatically :

"Any line in `Modules/Setup.local` with an "=" will be interpreted as a Makefile variable definition rather than a module."

And 

"`Modules/Setup.local` may be derived from `Modules/Setup`, the latter of which includes guidelines for enabling specific builtin modules."

May I edit this page to add these notes?

BRs and thanks,
Maxwell Bland


More information about the pydotorg-www mailing list