]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix a problem of RTTI data initialization in the libraries loaded by Python (SWIG...
authorvsr <vsr@opencascade.com>
Wed, 16 Dec 2009 13:24:29 +0000 (13:24 +0000)
committervsr <vsr@opencascade.com>
Wed, 16 Dec 2009 13:24:29 +0000 (13:24 +0000)
src/KERNEL_PY/salome.py

index 00371c4886fb3cc13ea5223039b0bb4533c1dd36..9f7b0b1f7e53a37849aac8b12467c79627a535bb 100755 (executable)
@@ -85,6 +85,8 @@ variables:
 from salome_kernel import *
 from salome_study import *
 from salome_iapp import *
+import dl, sys
+sys.setdlopenflags(dl.RTLD_NOW | dl.RTLD_GLOBAL)
 
 orb, lcc, naming_service, cm,sg=None,None,None,None,None
 myStudyManager, myStudyId, myStudy, myStudyName=None,None,None,None