Преглед на файлове

revert accidental commit

David Rose преди 16 години
родител
ревизия
985326f33a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      direct/src/plugin/load_plugin.cxx

+ 1 - 1
direct/src/plugin/load_plugin.cxx

@@ -185,7 +185,7 @@ load_plugin(const string &p3d_plugin_filename,
   // Posix case.
   // Posix case.
   assert(module == NULL);
   assert(module == NULL);
   if (filename.empty()) {
   if (filename.empty()) {
-    module = dlopen(NULL, RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND);
+    module = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL);
   } else {
   } else {
     module = dlopen(filename.c_str(), RTLD_LAZY | RTLD_LOCAL);
     module = dlopen(filename.c_str(), RTLD_LAZY | RTLD_LOCAL);
   }
   }