mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-10 04:35:37 +00:00
11 lines
430 B
Diff
11 lines
430 B
Diff
--- a/ggml/src/ggml-backend-reg.cpp
|
|
+++ b/ggml/src/ggml-backend-reg.cpp
|
|
@@ -496,6 +496,7 @@
|
|
// default search paths: executable directory, current directory
|
|
search_paths.push_back(get_executable_path());
|
|
search_paths.push_back(fs::current_path());
|
|
+ search_paths.push_back(get_executable_path() / ".." / "lib");
|
|
} else {
|
|
search_paths.push_back(fs::u8path(user_search_path));
|
|
}
|