summaryrefslogtreecommitdiffstats
path: root/test/MSVC/msvc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVC/msvc.py')
-rw-r--r--test/MSVC/msvc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/MSVC/msvc.py b/test/MSVC/msvc.py
index e28a87f..106aed9 100644
--- a/test/MSVC/msvc.py
+++ b/test/MSVC/msvc.py
@@ -45,7 +45,9 @@ if sys.platform != 'win32':
test.write('SConstruct',"""
import os
-env = Environment()
+# TODO: this is order-dependent (putting 'mssdk' second or third breaks),
+# and ideally we shouldn't need to specify the tools= list anyway.
+env = Environment(tools=['mssdk', 'msvc', 'mslink'])
env.Append(CPPPATH=os.environ.get('INCLUDE', ''),
LIBPATH=os.environ.get('LIB', ''),
CCFLAGS='/DPCHDEF')