YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: fucking lib
Louis Beaumont8b9b051df7a9
diff --git a/screenpipe-vision/build.rs b/screenpipe-vision/build.rsindex 0b2569b8e..032fe57b6 100644--- a/screenpipe-vision/build.rs+++ b/screenpipe-vision/build.rs@@ -1,19 +1,12 @@-use std::env;-#[cfg(target_os = "macos")]fn main() {println!("cargo:rustc-link-lib=dylib=screenpipe");- // let destination = env::var("DESTINATION").unwrap_or_default();- println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib");+ // Add the library search path+ println!("cargo:rustc-link-search=native=screenpipe-vision/lib");- // if destination == "brew" {- // println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib");- // } else if destination == "tauri" {- // println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../Frameworks");- // } else {- // println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../../screenpipe-vision/lib");- // }+ // Set the rpath+ println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib");}#[cfg(not(target_os = "macos"))]