From 011bc0ba45a8b7766a205cb21269dbafb32294b6 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 8 Oct 2013 14:27:10 -0700 Subject: [PATCH] Use /system/lib64 and /vendor/lib64 for 64-bit libraries. Change-Id: I4886aeb3070bf97b4cfe8053388ecb1bda288017 --- linker/linker.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linker/linker.cpp b/linker/linker.cpp index d218590cf..8f613b1ae 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -90,8 +90,13 @@ static soinfo* sonext = &libdl_info; static soinfo* somain; /* main process, always the one after libdl_info */ static const char* const gSoPaths[] = { +#if __LP64__ + "/vendor/lib64", + "/system/lib64", +#else "/vendor/lib", "/system/lib", +#endif NULL };