Merge "Revert "Add /odm/lib to shared lib search path""

This commit is contained in:
Dimitry Ivanov 2015-12-10 20:17:02 +00:00 committed by Gerrit Code Review
commit cb025e55f7

View File

@ -130,11 +130,9 @@ static soinfo* somain; // main process, always the one after libdl_info
static const char* const kDefaultLdPaths[] = {
#if defined(__LP64__)
"/odm/lib64",
"/vendor/lib64",
"/system/lib64",
#else
"/odm/lib",
"/vendor/lib",
"/system/lib",
#endif
@ -143,15 +141,11 @@ static const char* const kDefaultLdPaths[] = {
static const char* const kAsanDefaultLdPaths[] = {
#if defined(__LP64__)
"/data/odm/lib64",
"/odm/lib64",
"/data/vendor/lib64",
"/vendor/lib64",
"/data/lib64",
"/system/lib64",
#else
"/data/odm/lib",
"/odm/lib",
"/data/vendor/lib",
"/vendor/lib",
"/data/lib",