Skip to content
  • Ben Boeckel's avatar
    Ninja: Fix RC language depfile generation with cmcldeps · 9977899d
    Ben Boeckel authored and Brad King's avatar Brad King committed
    In commit v3.7.0-rc1~275^2 (Ninja: Use full path for all source files,
    2016-08-05), the source path was changed to use an absolute path.
    Inside of `cmcldeps` for `.rc` file compilation, it uses a separate
    argument for the path to the source file.  This ended up causing
    `cmcldeps` to transform the following call:
    
        cmcldeps.exe RC source.rc ... C:/full/path/to/source.rc
    
    into:
    
        ... C:/full/path/to//Tc source.rc
    
    which is invalid.  Update the source filename to use the full path to
    the source file so that the path is replaced properly.
    9977899d