summaryrefslogtreecommitdiffstats
path: root/test/MSVC/hierarchical.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVC/hierarchical.py')
-rw-r--r--test/MSVC/hierarchical.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/MSVC/hierarchical.py b/test/MSVC/hierarchical.py
index 2dece66..19b9dcc 100644
--- a/test/MSVC/hierarchical.py
+++ b/test/MSVC/hierarchical.py
@@ -50,8 +50,8 @@ SConscript('build/SConscript')
test.write('src/SConscript',"""
import os
env = Environment()
-env.Append(CPPPATH=os.environ['INCLUDE'],
- LIBPATH=os.environ['LIB'])
+env.Append(CPPPATH=os.environ.get('INCLUDE', ''),
+ LIBPATH=os.environ.get('LIB', ''))
env['PCH'] = 'StdAfx.pch'
env['PDB'] = '#out/test.pdb'
env['PCHSTOP'] = 'StdAfx.h'