We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 834f6a7 commit 958fa37Copy full SHA for 958fa37
1 file changed
source/loader/linux/driver_discovery_lin.cpp
@@ -46,6 +46,9 @@ static std::vector<std::string> getLibrarySearchPaths() {
46
auto split = splitPaths(ldLibPath);
47
paths.insert(paths.end(), split.begin(), split.end());
48
}
49
+#if defined(ANDROID)
50
+ paths.push_back("/vendor/lib64");
51
+#else
52
// Standard locations - Common across all Linux distributions
53
paths.push_back("/lib");
54
paths.push_back("/usr/lib");
@@ -68,6 +71,7 @@ static std::vector<std::string> getLibrarySearchPaths() {
68
71
paths.push_back("/var/lib/flatpak/runtime");
69
72
paths.push_back("/snap/core/current/lib");
70
73
paths.push_back("/snap/core/current/usr/lib");
74
+#endif // ANDROID
75
76
// /etc/ld.so.conf and included files
77
std::ifstream ldSoConf("/etc/ld.so.conf");
0 commit comments