From 65e0fb7519617813781faeb281d85eee977117cc Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Thu, 14 Mar 2024 09:50:05 +0100 Subject: [PATCH] fix: Reverse default paths list (#825) --- commons/zenoh-util/src/std_only/lib_loader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/zenoh-util/src/std_only/lib_loader.rs b/commons/zenoh-util/src/std_only/lib_loader.rs index b1aa77b06b..12a6da8489 100644 --- a/commons/zenoh-util/src/std_only/lib_loader.rs +++ b/commons/zenoh-util/src/std_only/lib_loader.rs @@ -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:/opt/homebrew/lib:~/.zenoh/lib:.".to_string(); + pub static ref LIB_DEFAULT_SEARCH_PATHS: String = ".:~/.zenoh/lib:/opt/homebrew/lib:/usr/local/lib:/usr/lib".to_string(); } /// LibLoader allows search for librairies and to load them.