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

This reverts commit f74b041cce75091b922151d4fa57e63c8a6caf4b.

Bug: 25654402
Change-Id: I77386ea3655868d7cd1a8130afbc95e70549389e
This commit is contained in:
Dimitry Ivanov 2015-12-09 19:35:02 +00:00
parent f74b041cce
commit 40728bccbc

View File

@ -125,11 +125,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
@ -138,15 +136,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",