]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
BugID 12013, Added a new flag for dlopen
authorsrn <srn@opencascade.com>
Tue, 28 Mar 2006 12:04:15 +0000 (12:04 +0000)
committersrn <srn@opencascade.com>
Tue, 28 Mar 2006 12:04:15 +0000 (12:04 +0000)
src/SUIT/SUIT_Session.cxx

index 7eca7329a3319db25ed4075878e459a75d330b33..deb1da0ac1e43fa3705b42e1c606ef79f9e4eb5c 100755 (executable)
@@ -290,7 +290,7 @@ SUIT_Session::AppLib SUIT_Session::loadLibrary( const QString& name, QString& li
 #ifdef WIN32
   lib = ::LoadLibrary( (char*)libFile.latin1() );
 #else
-  lib = dlopen( (char*)libFile.latin1(), RTLD_LAZY /*| RTLD_GLOBAL */ );
+  lib = dlopen( (char*)libFile.latin1(), RTLD_LAZY | RTLD_GLOBAL  );
 #endif
   return lib;
 }