mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
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:
@@ -124,6 +124,10 @@ def stage_runtime_payload(ifcopenshell_install_dir: Path, dest: Path, *, include
|
|||||||
if not is_platform("MAC"):
|
if not is_platform("MAC"):
|
||||||
ensure_soname_links(dest)
|
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:
|
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."""
|
"""Copy QT libs/plugins from `qt_dir` next to `exe_path`, if it depends on QT."""
|
||||||
|
|||||||
Reference in New Issue
Block a user