diff options
author | Steven Knight <knight@baldmt.com> | 2005-02-14 00:40:40 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-02-14 00:40:40 (GMT) |
commit | 35451af4f3052befef3b41b3a971b3a8025b0577 (patch) | |
tree | 62f145f7eefcdabaa7d84a690a8651b4b2140134 /src/engine/SCons/Tool/mingw.py | |
parent | 28c5194366b0f6a08b6b0b30fe1ec438a4ac3498 (diff) | |
download | SCons-35451af4f3052befef3b41b3a971b3a8025b0577.zip SCons-35451af4f3052befef3b41b3a971b3a8025b0577.tar.gz SCons-35451af4f3052befef3b41b3a971b3a8025b0577.tar.bz2 |
Move the canned Scanner objects out of Defaults.py and document how to add Scanners that env.Object() can use.
Diffstat (limited to 'src/engine/SCons/Tool/mingw.py')
-rw-r--r-- | src/engine/SCons/Tool/mingw.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/mingw.py b/src/engine/SCons/Tool/mingw.py index f1bc91a..78cffde 100644 --- a/src/engine/SCons/Tool/mingw.py +++ b/src/engine/SCons/Tool/mingw.py @@ -99,8 +99,8 @@ shlib_action = SCons.Action.CommandGenerator(shlib_generator) res_action = SCons.Action.Action('$RCCOM', '$RCCOMSTR') res_builder = SCons.Builder.Builder(action=res_action, suffix='.o', - source_scanner=SCons.Defaults.ObjSourceScan) -SCons.Defaults.ObjSourceScan.add_scanner('.rc', SCons.Defaults.CScan) + source_scanner=SCons.Tool.SourceFileScanner) +SCons.Tool.SourceFileScanner.add_scanner('.rc', SCons.Defaults.CScan) def generate(env): mingw = find(env) |