From: skv Date: Thu, 24 Nov 2016 10:50:48 +0000 (+0300) Subject: Fix pb with save/restore GEOM for Debian 6.0 X-Git-Tag: V8_2_0rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b8c725d044864576dfeb87ff6200aa745da735a6;p=modules%2Fgeom.git Fix pb with save/restore GEOM for Debian 6.0 --- diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index 5e1710bfa..aac522ccc 100644 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -84,7 +84,7 @@ #define UnLoadLib( handle ) FreeLibrary( handle ); #else #define LibHandle void* - #define LoadLib( name ) dlopen( name, RTLD_LAZY ) + #define LoadLib( name ) dlopen( name, RTLD_LAZY | RTLD_GLOBAL ) #define GetProc dlsym #define UnLoadLib( handle ) dlclose( handle ); #endif