File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -618,9 +618,9 @@ if [ "${PYBUILD_SHARED}" = "1" ]; then
618618
619619 if [ " ${CC} " == " musl-clang" ]; then
620620 # musl does not support $ORIGIN in DT_NEEDED, so we use RPATH instead. This could be
621- # problematic, i.e., we could load the shared library from the wrong location — but
622- # there's not a clear alternative at this time. The longterm solution is likely to
623- # statically link to libpython instead.
621+ # problematic, i.e., we could load the shared library from the wrong location if
622+ # `LD_LIBRARY_PATH` is set, but there's not a clear alternative at this time. The
623+ # long term solution is probably to statically link to libpython instead.
624624 patchelf --set-rpath " \$ ORIGIN/../lib" \
625625 ${ROOT} /out/python/install/bin/python${PYTHON_MAJMIN_VERSION}
626626
You can’t perform that action at this time.
0 commit comments