package-zip-archives: patch rpath for all runtime libs, not just qt

Unsure if it's required, but just to be safe and to avoid warnings showing up during `check_runtime_dependencies`.
This commit is contained in:
Andrej730
2026-08-27 18:15:24 +05:00
parent 453bf9b8e8
commit 48eddeec01
+4
View File
@@ -124,6 +124,10 @@ def stage_runtime_payload(ifcopenshell_install_dir: Path, dest: Path, *, include
if not is_platform("MAC"):
ensure_soname_links(dest)
for lib_so in dest.glob("*.so*"):
if lib_so.is_file():
run("patchelf", "--set-rpath", "$ORIGIN", str(lib_so))
def stage_qt_runtime_payload(exe_path: Path, dest: Path, qt_dir: Path | None) -> None:
"""Copy QT libs/plugins from `qt_dir` next to `exe_path`, if it depends on QT."""