From: Cédric Aguerre Date: Wed, 9 Apr 2014 09:08:51 +0000 (+0200) Subject: library path for BSD X-Git-Tag: V7_4_0b1~4^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca53b50c2038c9911571374796cb388b62c7b721;p=modules%2Fkernel.git library path for BSD --- diff --git a/bin/salomeContext.py b/bin/salomeContext.py index 465e6e067..98d245357 100644 --- a/bin/salomeContext.py +++ b/bin/salomeContext.py @@ -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)