Fix thinko.
authorDavid Anderson <dvander@alliedmods.net>
Mon Nov 18 11:50:25 2013 -0800 (2013-11-18)
changeset 200dd255a16b1bb
parent 199 61e1d1fcb9bb
child 201 300046068537
Fix thinko.
ambuild2/frontend/cpp.py
     1.1 --- a/ambuild2/frontend/cpp.py	Mon Nov 18 11:46:58 2013 -0800
     1.2 +++ b/ambuild2/frontend/cpp.py	Mon Nov 18 11:50:25 2013 -0800
     1.3 @@ -390,9 +390,10 @@
     1.4        else:
     1.5          sourceFile = os.path.join(cx.currentSourcePath, item)
     1.6        sourceFile = os.path.normpath(sourceFile)
     1.7 +
     1.8 +      filename, extension = os.path.splitext(item)
     1.9        encname = NameForObjectFile(filename)
    1.10  
    1.11 -      filename, extension = os.path.splitext(item)
    1.12        if extension == '.rc':
    1.13          cenv = self.default_c_env
    1.14          objectFile = encname + '.res'