From 8332371ed38ab0a6c732ab1f73ed8fcc825fa013 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 31 Aug 2026 17:59:13 +0500 Subject: [PATCH] build-all: pass boost to ld library paths for tests --- nix/build-all.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/build-all.py b/nix/build-all.py index d7cd923cb3..bb3af77023 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -527,6 +527,8 @@ else: OFF_ON = ["OFF", "ON"] BUILD_STATIC = not ARGS.shared """Whether dependencies are built static.""" +BUILD_SHARED = not BUILD_STATIC +"""Whether dependencies are built shared.""" ENABLE_FLAG = "--enable-static" if BUILD_STATIC else "--enable-shared" DISABLE_FLAG = "--disable-shared" if BUILD_STATIC else "--disable-static" LINK_TYPE = "static" if BUILD_STATIC else "shared" @@ -1798,6 +1800,8 @@ ld_library_paths = [ ] if ARGS.occt_shared and "occ" in targets: ld_library_paths.append(f"{OCCT_INSTALL_PATH}/lib") +if ARGS.shared and "boost" in targets: + ld_library_paths.append(f"{Dependencies.get_install_dir('boost')}/lib") if not WASM and ( "BonsaiViewer" in targets