mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
revert accidental commit
This commit is contained in:
parent
a15108cbc5
commit
985326f33a
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user