revert accidental commit

This commit is contained in:
David Rose 2010-01-05 02:11:30 +00:00
parent a15108cbc5
commit 985326f33a

View File

@ -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);
} }