]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
library path for BSD
authorCédric Aguerre <cedric.aguerre@edf.fr>
Wed, 9 Apr 2014 09:08:51 +0000 (11:08 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Wed, 9 Apr 2014 09:08:51 +0000 (11:08 +0200)
bin/salomeContext.py

index 465e6e06709c8959ea034305f768b1e3725d3631..98d2453571e990b9917cefa86b4a4c46cc25f563 100644 (file)
@@ -77,7 +77,7 @@ class SalomeContext:
     if len(configFileNames) == 0:
       raise SalomeContextException("No configuration files given")
 
-    reserved=['PATH', 'LD_LIBRARY_PATH', 'PYTHONPATH', 'MANPATH', 'PV_PLUGIN_PATH']
+    reserved=['PATH', 'DYLD_LIBRARY_PATH', 'LD_LIBRARY_PATH', 'PYTHONPATH', 'MANPATH', 'PV_PLUGIN_PATH']
     for filename in configFileNames:
       basename, extension = os.path.splitext(filename)
       if extension == ".cfg":
@@ -127,6 +127,11 @@ class SalomeContext:
     self.addToVariable('LD_LIBRARY_PATH', value)
   #
 
+  """Append value to DYLD_LIBRARY_PATH environment variable"""
+  def addToDyldLibraryPath(self, value):
+    self.addToVariable('DYLD_LIBRARY_PATH', value)
+  #
+
   """Append value to PYTHONPATH environment variable"""
   def addToPythonPath(self, value):
     self.addToVariable('PYTHONPATH', value)