From: bdbaddog Date: Thu, 25 Sep 2008 21:05:24 +0000 (+0000) Subject: Fix for previous fix for 402 and 2082 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c3c7ca2189d0f8230c6cf57875455e412184569;p=scons.git Fix for previous fix for 402 and 2082 git-svn-id: http://scons.tigris.org/svn/scons/trunk@3478 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/msvc.py b/src/engine/SCons/Tool/msvc.py index 036501ba..b324a323 100644 --- a/src/engine/SCons/Tool/msvc.py +++ b/src/engine/SCons/Tool/msvc.py @@ -45,6 +45,7 @@ import SCons.Tool import SCons.Tool.msvs import SCons.Util import SCons.Warnings +import SCons.Scanner.RC CSuffixes = ['.c', '.C'] CXXSuffixes = ['.cc', '.cpp', '.cxx', '.c++', '.C++'] @@ -663,7 +664,7 @@ pch_builder = SCons.Builder.Builder(action=pch_action, suffix='.pch', # Logic to build .rc files into .res files (resource files) -res_scanner = SCons.Scanner.RCScan() +res_scanner = SCons.Scanner.RC.RCScan() res_action = SCons.Action.Action('$RCCOM', '$RCCOMSTR') res_builder = SCons.Builder.Builder(action=res_action, src_suffix='.rc',