diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-29 19:32:34 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-29 19:32:34 +1000 |
commit | 25aed9b0080ed99eac38006ef4e45480ff239d3a (patch) | |
tree | 504366baa551b2cef9dc387cd5087d483308a634 /bindgen | |
parent | 4e2881efa1eaf9f0356cb5f8d98a80b786a0f6a7 (diff) |
hardcoded core_static
Diffstat (limited to 'bindgen')
-rw-r--r-- | bindgen/rust/celeritas-sys/build.rs | 5 |
1 files changed, 3 insertions, 2 deletions
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}"); |