Skip to content

Commit

Permalink
Add homebrew lib search path for Apple Silicon systems (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz authored Nov 30, 2023
1 parent e22a312 commit ecd11ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commons/zenoh-util/src/std_only/lib_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ zconfigurable! {
/// The libraries suffix for the current platform (`".dll"` or `".so"` or `".dylib"`...)
pub static ref LIB_SUFFIX: String = DLL_SUFFIX.to_string();
/// The default list of paths where to search for libraries to load
pub static ref LIB_DEFAULT_SEARCH_PATHS: String = "/usr/local/lib:/usr/lib:~/.zenoh/lib:.".to_string();
pub static ref LIB_DEFAULT_SEARCH_PATHS: String = "/usr/local/lib:/usr/lib:/opt/homebrew/lib:~/.zenoh/lib:.".to_string();
}

/// LibLoader allows search for librairies and to load them.
Expand Down

0 comments on commit ecd11ad

Please sign in to comment.