]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix pb with save/restore GEOM for Debian 6.0
authorskv <skv@opencascade.com>
Thu, 24 Nov 2016 10:50:48 +0000 (13:50 +0300)
committerskv <skv@opencascade.com>
Thu, 24 Nov 2016 10:50:48 +0000 (13:50 +0300)
src/GEOM_I/GEOM_Gen_i.cc

index 5e1710bfa9960d5e5451cd29391e5bdaea36ef0a..aac522ccc1e88900bd8dc5f3fdf432ebd210e126 100644 (file)
@@ -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