diff --git a/direct/src/plugin/load_plugin.cxx b/direct/src/plugin/load_plugin.cxx index c80d3f8471..7bec939e26 100755 --- a/direct/src/plugin/load_plugin.cxx +++ b/direct/src/plugin/load_plugin.cxx @@ -185,7 +185,7 @@ load_plugin(const string &p3d_plugin_filename, // Posix case. assert(module == NULL); if (filename.empty()) { - module = dlopen(NULL, RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND); + module = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL); } else { module = dlopen(filename.c_str(), RTLD_LAZY | RTLD_LOCAL); }