Merge "Add /odm/lib to shared lib search path"
This commit is contained in:
commit
0ebe2f07c3
@ -125,9 +125,11 @@ 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
|
||||
@ -136,11 +138,15 @@ 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",
|
||||
|
Loading…
Reference in New Issue
Block a user