summaryrefslogtreecommitdiff
path: root/include/module/ModuleLoader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/module/ModuleLoader.hpp')
-rwxr-xr-xinclude/module/ModuleLoader.hpp2
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