Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44133: Link Python executable with object files #30556

Merged
merged 3 commits into from
Jan 13, 2022
Merged

bpo-44133: Link Python executable with object files #30556

merged 3 commits into from
Jan 13, 2022

Commits on Jan 12, 2022

  1. bpo-44133: Link Python executable with object files

    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.
    vstinner committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    fb2f8b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5c7102 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Skip the test on Windows

    vstinner committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    f0d052b View commit details
    Browse the repository at this point in the history