cpython icon indicating copy to clipboard operation
cpython copied to clipboard

gh-136677: Introduce executable specific linker flags to configure

Open rueteh opened this issue 6 months ago • 1 comments

Introduce two new flags EXE_LDFLAGS and PY_CORE_EXE_LDFLAGS to contain executable target specific linker options for building the python interpreter as well as other executables.

  • Issue: gh-136677

Notes

If provided, this effectively means that PY_CORE_LDFLAGS (as well as the chain of flags used by this variable) is exclusively used to build shared libraries / bundles. In addition, any common linker flags applicable to both types of targets would also need to be supplied to EXE_LDFLAGS and LDFLAGS.


📚 Documentation preview 📚: https://cpython-previews--137296.org.readthedocs.build/

rueteh avatar Aug 01 '25 06:08 rueteh

All commit authors signed the Contributor License Agreement.

CLA signed

python-cla-bot[bot] avatar Aug 01 '25 06:08 python-cla-bot[bot]