Disallow dlopen("egl/blah.so") on LP64

Change-Id: I9a563a9dada6522129b1890bc1292667230e80a5
This commit is contained in:
Dmitriy Ivanov 2014-05-02 18:18:50 -07:00
parent d6ff0dcef6
commit 5ca7ed9005

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.