add RTLD_GLOBAL so loaded symbols are available to other modules
This commit is contained in:
parent
d74707423c
commit
b5f34628a7
|
|
@ -165,7 +165,7 @@ load_dso_error() {
|
|||
void *
|
||||
load_dso(const Filename &filename) {
|
||||
string os_specific = filename.to_os_specific();
|
||||
return dlopen(os_specific.c_str(), RTLD_NOW);
|
||||
return dlopen(os_specific.c_str(), RTLD_NOW | RTLD_GLOBAL);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue