Browse Source

[2980] Get rid of RTLD_DEEPBIND

Stephen Morris 12 years ago
parent
commit
58875c2089
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/hooks/library_manager.cc

+ 1 - 1
src/lib/hooks/library_manager.cc

@@ -45,7 +45,7 @@ LibraryManager::openLibrary() {
 
     // Open the library.  We'll resolve names now, so that if there are any
     // issues we don't bugcheck in the middle of apparently unrelated code.
-    dl_handle_ = dlopen(library_name_.c_str(), RTLD_NOW | RTLD_DEEPBIND);
+    dl_handle_ = dlopen(library_name_.c_str(), RTLD_NOW | RTLD_LOCAL);
     if (dl_handle_ == NULL) {
         LOG_ERROR(hooks_logger, HOOKS_OPEN_ERROR).arg(library_name_)
                   .arg(dlerror());