From ca53b50c2038c9911571374796cb388b62c7b721 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Wed, 9 Apr 2014 11:08:51 +0200 Subject: [PATCH] library path for BSD --- bin/salomeContext.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.39.2