commit | 5ca7ed9005ea16733d7c87d7154473b7a500be0c | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Fri May 02 18:18:50 2014 -0700 |
committer | Dmitriy Ivanov <dimitry@google.com> | Fri May 02 18:18:50 2014 -0700 |
tree | 7984aebdfeb7e6085749e2f2b387f70ed9fc7332 | |
parent | d6ff0dcef670abd070efc6ff75bfbf265128eb2e [diff] [blame] |
Disallow dlopen("egl/blah.so") on LP64 Change-Id: I9a563a9dada6522129b1890bc1292667230e80a5
diff --git a/linker/linker.cpp b/linker/linker.cpp index 4d8563e..08231ea 100755 --- a/linker/linker.cpp +++ b/linker/linker.cpp
@@ -680,6 +680,9 @@ 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.