From: srn Date: Tue, 28 Feb 2006 11:55:25 +0000 (+0000) Subject: Added a flag RTLD to dlopen X-Git-Tag: Tag_09032006~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f7a657160f4aa63d742815b04ac39a874ec1f480;p=modules%2Fkernel.git Added a flag RTLD to dlopen --- diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index 48b3ac787..0ad0d70ad 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -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