File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -821,25 +821,6 @@ if [ "${PYBUILD_SHARED}" = "1" ]; then
821
821
${ROOT} /out/python/install/lib/libpython3.so
822
822
fi
823
823
fi
824
-
825
- # PyInstaller would like to see `ldd` work on modules.
826
- # https://github.com/pyinstaller/pyinstaller/issues/9204#issuecomment-3171583553
827
- # Also this probably helps programs linking libpython avoid having to set an rpath.
828
- patchelf_args=()
829
- if [ " ${CC} " == " musl-clang" ]; then
830
- patchelf_args+=(--set-rpath ' ${ORIGIN}/../..' )
831
- else
832
- for lib in ${ROOT} /out/python/install/lib/* ; do
833
- basename=${lib##*/ }
834
- patchelf_args+=(--replace-needed " $basename " ' ${ORIGIN}/../../' " $basename " )
835
- done
836
- fi
837
- # At the moment, python3 and libpython don't have shared-library
838
- # dependencies, but at some point we will want to run this for
839
- # them too.
840
- for module in ${ROOT} /out/python/install/lib/python* /lib-dynload/* .so; do
841
- patchelf " ${patchelf_args[@]} " " $module "
842
- done
843
824
fi
844
825
fi
845
826
You can’t perform that action at this time.
0 commit comments