From 0687b6310bae6a26d3831634a79428b99fff652b Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sun, 6 Jun 2010 02:00:29 +0000 Subject: Explicitly initialize the construction environment with tools = ['mssdk', 'msvc', 'mslink', 'midl'], so the test can actually find and compile against things like the atlbase.h file. --- test/IDL/midl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/IDL/midl.py b/test/IDL/midl.py index a2fd2a7..08b604e 100644 --- a/test/IDL/midl.py +++ b/test/IDL/midl.py @@ -41,7 +41,8 @@ if sys.platform != 'win32': test.write('SConstruct',""" import os -env = Environment(CPPPATH = '${TARGET.dir}') +env = Environment(CPPPATH = '${TARGET.dir}', + tools = ['mssdk', 'msvc', 'mslink', 'midl']) Export('env') VariantDir('build', 'src') -- cgit v0.12