diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/module/ModuleLoader.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/module/ModuleLoader.hpp b/include/module/ModuleLoader.hpp index 6eb9079..21905ec 100755 --- a/include/module/ModuleLoader.hpp +++ b/include/module/ModuleLoader.hpp @@ -50,7 +50,7 @@ class BaseModuleLoader { for( std::vector<std::string>::const_iterator it = files.begin( ); it != files.end( ); it++ ) { #ifndef _WIN32 - m.handle = dlopen( it->c_str( ), RTLD_NOW | RTLD_LOCAL ); + m.handle = dlopen( it->c_str( ), RTLD_NOW | RTLD_GLOBAL ); #else m.handle = LoadLibrary( it->c_str( ) ); #endif |