summaryrefslogtreecommitdiff
path: root/bindgen/rust/celeritas-sys/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen/rust/celeritas-sys/build.rs')
-rw-r--r--bindgen/rust/celeritas-sys/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindgen/rust/celeritas-sys/build.rs b/bindgen/rust/celeritas-sys/build.rs
index 4f85bc6..097e26b 100644
--- a/bindgen/rust/celeritas-sys/build.rs
+++ b/bindgen/rust/celeritas-sys/build.rs
@@ -3,6 +3,7 @@ use std::path::PathBuf;
fn main() {
// Tell cargo to look for shared libraries in the specified directory
+ // TODO: we need to look based on OS
println!("cargo:rustc-link-search=../../../build/macosx/arm64/debug");
// println!("cargo:rustc-link-search=../../build/windows/x64/debug");
@@ -10,6 +11,7 @@ fn main() {
// shared library.
println!("cargo:rustc-link-lib=core_static");
println!("cargo:rustc-link-lib=glfw3");
+ // TODO: ^ use our locally compiled glfw
// The bindgen::Builder is the main entry point
// to bindgen, and lets you build up options for