summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-01-13 18:24:28 (GMT)
committerGitHub <noreply@github.com>2022-01-13 18:24:28 (GMT)
commit6be848922bc0f4c632c255c39de82a45b6480286 (patch)
treec20a5ac0989b76b96cb5e391bd445d21e68eca30 /Python/fileutils.c
parent0885999a8e5ffad3fae0302675ad0030e33a15af (diff)
downloadcpython-6be848922bc0f4c632c255c39de82a45b6480286.zip
cpython-6be848922bc0f4c632c255c39de82a45b6480286.tar.gz
cpython-6be848922bc0f4c632c255c39de82a45b6480286.tar.bz2
bpo-44133: Link Python executable with object files (GH-30556)
When Python is built without --enable-shared, the "python" program is now linked to object files, rather than being linked to the Python library (libpython.a), to make sure that all symbols are exported. Previously, the linker omitted some symbols like the Py_FrozenMain() function. When Python is configured with --without-static-libpython, the Python static library (libpython.a) is no longer built. * Check --without-static-libpython earlier in configure.ac * Add LINK_PYTHON_OBJS and LINK_PYTHON_DEPS variables to Makefile. * test_capi now ensures that the "Py_FrozenMain" symbol is exported.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions