Skip to content

Commit

Permalink
Merge pull request #14862 from ethereum/add_usr_local_lib_to_default_…
Browse files Browse the repository at this point in the history
…library_search

[test] Add /usr/local/lib to search paths on macOS.
  • Loading branch information
aarlt authored Feb 19, 2024
2 parents dc11306 + c7b8dcc commit 6c5026d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ std::optional<fs::path> findInDefaultPath(std::string const& lib_name)
fs::current_path() / ".." / "deps" / "lib",
fs::current_path() / ".." / ".." / "deps",
fs::current_path() / ".." / ".." / "deps" / "lib",
fs::current_path()
fs::current_path(),
#ifdef __APPLE__
fs::current_path().root_path() / fs::path("usr") / "local" / "lib",
#endif
};
for (auto const& basePath: searchPath)
{
Expand Down

0 comments on commit 6c5026d

Please sign in to comment.