Fix undefined dlopen behaviour
Thanks to "yelnya face" (@yelnyaface) for debugging this closes #1611 closes #1611
This commit is contained in:
parent
f25ad671de
commit
41c251369a
@ -47,7 +47,7 @@ void SharedObject::Load()
|
||||
{
|
||||
sleep(1);
|
||||
}
|
||||
while (!(lmap = (link_map *) dlopen(path.c_str(), RTLD_NOLOAD)))
|
||||
while (!(lmap = (link_map *) dlopen(path.c_str(), RTLD_LAZY | RTLD_NOLOAD)))
|
||||
{
|
||||
sleep(1);
|
||||
char *error = dlerror();
|
||||
|
Reference in New Issue
Block a user