linux: remove RTLD_DEEPBIND from dlopen()
Plugins need to keep their symbol visibility correct.
BUG=17557
Review URL: http://codereview.chromium.org/160302
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21926 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/native_library_linux.cc b/base/native_library_linux.cc
index d1494133..9967e475 100644
--- a/base/native_library_linux.cc
+++ b/base/native_library_linux.cc
@@ -14,7 +14,7 @@
// static
NativeLibrary LoadNativeLibrary(const FilePath& library_path) {
- void* dl = dlopen(library_path.value().c_str(), RTLD_LAZY|RTLD_DEEPBIND);
+ void* dl = dlopen(library_path.value().c_str(), RTLD_LAZY);
if (!dl) {
LOG(ERROR) << "dlopen failed when trying to open " << library_path.value()
<< ": " << dlerror();