We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LIBPYTHON_SHARED_LIBRARY=
1 parent 8cc2387 commit a30ce17Copy full SHA for a30ce17
cpython-unix/build-cpython.sh
@@ -832,6 +832,12 @@ if [[ "${PYBUILD_SHARED}" = "1" && -n "${PYTHON_MEETS_MAXIMUM_VERSION_3_14}" ]]
832
fi
833
834
835
+else
836
+ # For Python 3.15+ on Linux, we still need to define LIBPYTHON_SHARED_LIBRARY for glibc version detection
837
+ if [[ "${PYBUILD_PLATFORM}" != macos* ]]; then
838
+ LIBPYTHON_SHARED_LIBRARY_BASENAME=libpython${PYTHON_MAJMIN_VERSION}${PYTHON_BINARY_SUFFIX}.so.1.0
839
+ LIBPYTHON_SHARED_LIBRARY=${ROOT}/out/python/install/lib/${LIBPYTHON_SHARED_LIBRARY_BASENAME}
840
+ fi
841
842
843
# Install setuptools and pip as they are common tools that should be in any
0 commit comments