summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-29 19:32:34 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-29 19:32:34 +1000
commit25aed9b0080ed99eac38006ef4e45480ff239d3a (patch)
tree504366baa551b2cef9dc387cd5087d483308a634
parent4e2881efa1eaf9f0356cb5f8d98a80b786a0f6a7 (diff)
hardcoded core_static
-rw-r--r--bindgen/rust/celeritas-sys/build.rs5
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}");