Skip to content

Commit

Permalink
fix brew
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Aug 8, 2024
1 parent 93ded2b commit fcac2d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resolver = "2"


[workspace.package]
version = "0.1.52"
version = "0.1.53"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/louis030195/screen-pipe"
Expand Down
4 changes: 4 additions & 0 deletions screenpipe-vision/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ fn main() {

// Set the rpath
println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib");
println!("cargo:rustc-link-arg=-Wl,-rpath,@loader_path/../lib");

// Ensure the linker uses the correct library name
println!("cargo:rustc-link-arg=-Wl,-install_name,@rpath/libscreenpipe.dylib");
}

#[cfg(not(target_os = "macos"))]
Expand Down

0 comments on commit fcac2d8

Please sign in to comment.