From 98cbb6c059abf28d32d906ae4d62fa6cae1a114b Mon Sep 17 00:00:00 2001 From: Louis Beaumont Date: Thu, 8 Aug 2024 18:24:27 +0200 Subject: [PATCH] fix: apple ocr distribution --- screenpipe-vision/build.rs | 6 ------ 1 file changed, 6 deletions(-) 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" {