File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ static std::vector<std::string> getLibrarySearchPaths() {
4646 auto split = splitPaths (ldLibPath);
4747 paths.insert (paths.end (), split.begin (), split.end ());
4848 }
49+ #if defined(ANDROID)
50+ paths.push_back (" /vendor/lib64" );
51+ #else
4952 // Standard locations - Common across all Linux distributions
5053 paths.push_back (" /lib" );
5154 paths.push_back (" /usr/lib" );
@@ -68,6 +71,7 @@ static std::vector<std::string> getLibrarySearchPaths() {
6871 paths.push_back (" /var/lib/flatpak/runtime" );
6972 paths.push_back (" /snap/core/current/lib" );
7073 paths.push_back (" /snap/core/current/usr/lib" );
74+ #endif // ANDROID
7175
7276 // /etc/ld.so.conf and included files
7377 std::ifstream ldSoConf (" /etc/ld.so.conf" );
You can’t perform that action at this time.
0 commit comments