Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 12f3ccea authored by Ludovic Courtès's avatar Ludovic Courtès

build: Don't fail when $CPATH or $LIBRARY_PATH are undefined.

Fixes a regression introduced in commit 65ffd88f.
parent ed44751b
......@@ -61,12 +61,13 @@ vars.Add('MATLAB_LIB', 'MATLAB libraries')
env = Environment(variables = vars,
# Select user environment variables that we want to honor.
envVars = {}
for var in [ 'PATH', 'CPATH', 'LIBRARY_PATH' ]:
if var in os.environ:
envVars[var] = os.environ[var]
# Honor the user's settings.
ENV = {'PATH' : os.environ['PATH'],
'CPATH' : os.environ['CPATH'],
'LIBRARY_PATH' : os.environ['LIBRARY_PATH'] })
env = Environment(variables = vars, ENV = envVars)
## PLATFORM dependant section
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment