diff --git a/screenpipe-vision/build.rs b/screenpipe-vision/build.rs index 2f7901e0..2a14c61f 100644 --- a/screenpipe-vision/build.rs +++ b/screenpipe-vision/build.rs @@ -1,15 +1,9 @@ use std::env; -use std::path::PathBuf; #[cfg(target_os = "macos")] fn main() { let destination = env::var("DESTINATION").unwrap_or_default(); - let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap(); - let lib_path = PathBuf::from(manifest_dir).join("lib"); - - println!("cargo:rustc-link-search=native={}", lib_path.display()); - if destination == "brew" { println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib"); } else if destination == "tauri" {