summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2017-08-30 19:42:31 +0000
committer android-build-merger <android-build-merger@google.com> 2017-08-30 19:42:31 +0000
commitc1f9234d95ecec1e4dbbff721b5004b9c5215455 (patch)
tree3dffa1f09d1cc4196fb131c1c9197ed53687633d
parent8207b5b736416659b1042d0227032c1b4d616ed4 (diff)
parent66854748d51f72aabc1ba9bd26e380853437eb53 (diff)
Merge "Fix monolithic, un-suffixed GLES driver search" am: cd89b87637 am: 2ba1a2a9dc am: a7df41d966
am: 66854748d5 Change-Id: Icfc649ab7d4b540fe71e0cb432e337d6247e4425
-rw-r--r--opengl/libs/EGL/Loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 371239ddc0..399affc509 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -389,7 +389,7 @@ static void* load_system_driver(const char* kind) {
static bool find(std::string& result,
const std::string& pattern, const char* const search, bool exact) {
if (exact) {
- std::string absolutePath = std::string(search) + "/" + pattern;
+ std::string absolutePath = std::string(search) + "/" + pattern + ".so";
if (!access(absolutePath.c_str(), R_OK)) {
result = absolutePath;
return true;