From 107bcfc90fcce31de2813ea9e58cdb435f8f2484 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Tue, 3 Mar 2015 18:45:38 +0100 Subject: [PATCH] fix for LIBPATH and INCLUDE --- bin/salomeContext.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/salomeContext.py b/bin/salomeContext.py index 8f7a01285..38e508025 100644 --- a/bin/salomeContext.py +++ b/bin/salomeContext.py @@ -309,7 +309,10 @@ class SalomeContext: a = filter(None, reservedDict[reserved]) # remove empty elements a = [ os.path.realpath(x) for x in a ] reformattedVals = os.pathsep.join(a) - self.addToVariable(reserved, reformattedVals) + if reserved in ["INCLUDE", "LIBPATH"]: + self.addToVariable(reserved, reformattedVals, separator=' ') + else: + self.addToVariable(reserved, reformattedVals) pass for key,val in configVars: -- 2.39.2