Commit 4be6ac0d authored by Ludovic Courtès's avatar Ludovic Courtès

build: Honor the user-specified search paths.

parent a4de830e
......@@ -60,7 +60,13 @@ vars.Add('MATLAB_DIR', 'MATLAB directory')
vars.Add('MATLAB_LIB', 'MATLAB libraries')
env = Environment(variables = vars)
env = Environment(variables = vars,
# Honor the user's settings.
ENV = {'PATH' : os.environ['PATH'],
'CPATH' : os.environ['CPATH'],
'LIBRARY_PATH' : os.environ['LIBRARY_PATH'] })
## 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