Skip to content

Commit c57bf3d

Browse files
committed
unix: compute libpython shared library name with binary suffix
This should have been done as part of commit d983b33.
1 parent 94129cb commit c57bf3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-cpython.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ if [ "${PYBUILD_SHARED}" = "1" ]; then
719719
${ROOT}/out/python/install/bin/python${PYTHON_MAJMIN_VERSION}${PYTHON_BINARY_SUFFIX}
720720
fi
721721
else
722-
LIBPYTHON_SHARED_LIBRARY_BASENAME=libpython${PYTHON_MAJMIN_VERSION}.so.1.0
722+
LIBPYTHON_SHARED_LIBRARY_BASENAME=libpython${PYTHON_MAJMIN_VERSION}${PYTHON_BINARY_SUFFIX}.so.1.0
723723
LIBPYTHON_SHARED_LIBRARY=${ROOT}/out/python/install/lib/${LIBPYTHON_SHARED_LIBRARY_BASENAME}
724724

725725
# If we simply set DT_RUNPATH via --set-rpath, LD_LIBRARY_PATH would be used before

0 commit comments

Comments
 (0)