am 80893060: am 2d822ebe: Merge "Disallow dlopen("egl/blah.so") on LP64"

* commit '80893060ddf59625e0b0906685cb2631763ecf74':
  Disallow dlopen("egl/blah.so") on LP64
This commit is contained in:
Dmitriy Ivanov 2014-05-03 01:45:12 +00:00 committed by Android Git Automerger
commit 40a744fac7

View File

@ -680,6 +680,9 @@ static int open_library(const char* name) {
return fd;
}
// ...but nvidia binary blobs (at least) rely on this behavior, so fall through for now.
#if defined(__LP64__)
return -1;
#endif
}
// Otherwise we try LD_LIBRARY_PATH first, and fall back to the built-in well known paths.