Fix for previous fix for 402 and 2082
authorbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 25 Sep 2008 21:05:24 +0000 (21:05 +0000)
committerbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 25 Sep 2008 21:05:24 +0000 (21:05 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3478 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/msvc.py

index 036501ba6e05fbfa41ed2d264b82ab8bb50aacf2..b324a323b70f5ea171fab3070e28ea30288dc8f2 100644 (file)
@@ -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',