]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Added a flag RTLD to dlopen
authorsrn <srn@opencascade.com>
Tue, 28 Feb 2006 11:55:25 +0000 (11:55 +0000)
committersrn <srn@opencascade.com>
Tue, 28 Feb 2006 11:55:25 +0000 (11:55 +0000)
src/Container/Container_i.cxx

index 48b3ac787f6d87481e090fd2f0a8d2116819ebf8..0ad0d70ada3bde36921cc5c582eaf5352c959a8b 100644 (file)
@@ -308,7 +308,7 @@ Engines_Container_i::load_component_Library(const char* componentName)
   
   void* handle;
 #ifndef WNT
-  handle = dlopen( impl_name.c_str() , RTLD_LAZY ) ;
+  handle = dlopen( impl_name.c_str() , RTLD_LAZY | RTLD_GLOBAL) ;
 #else
   handle = dlopen( impl_name.c_str() , 0 ) ;
 #endif