From 7997d5a2c8013ae23a5175b27b3376ffd7801294 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 28 Aug 2026 13:12:55 +0500 Subject: [PATCH] build-all: consider lib64 during examples testing --- nix/build-all.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index d849b288fe..5e7b504554 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1722,7 +1722,12 @@ if not WASM and ( examples_bin_dir = Path(DEPS_DIR) / "install" / "ifcopenshell" / "bin" examples_env = os.environ.copy() - ld_library_paths = ["../lib"] + ld_library_paths = [ + # E.g. Debian. + "../lib", + # E.g. Rocky. + "../lib64", + ] if ARGS.occt_shared: ld_library_paths.append(f"{OCCT_INSTALL_PATH}/lib") examples_env["LD_LIBRARY_PATH"] = os.pathsep.join(ld_library_paths)