From 25aed9b0080ed99eac38006ef4e45480ff239d3a Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 29 Jul 2024 19:32:34 +1000 Subject: hardcoded core_static --- bindgen/rust/celeritas-sys/build.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bindgen/rust/celeritas-sys/build.rs') diff --git a/bindgen/rust/celeritas-sys/build.rs b/bindgen/rust/celeritas-sys/build.rs index 13aa04d..38009bd 100644 --- a/bindgen/rust/celeritas-sys/build.rs +++ b/bindgen/rust/celeritas-sys/build.rs @@ -33,8 +33,9 @@ fn main() { // TODO: we need to look based on OS // println!("cargo:rustc-link-search=../../build/windows/x64/debug"); - let static_lib_path = std::env::var("CELERITAS_CORE_LIB") - .unwrap_or("../../../build/macosx/arm64/debug".to_string()); + let static_lib_path = "/Users/josh/code/CodenameVentus/deps/celeritas-core/build/macosx/arm64/debug".to_string(); + // let static_lib_path = std::env::var("CELERITAS_CORE_LIB") + // .unwrap_or("../../../build/macosx/arm64/debug".to_string()); println!("cargo:rustc-link-search={static_lib_path}"); -- cgit v1.2.3-70-g09d2