mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Fix deletion of generated proxy makefile
svn path=/trunk/; revision=31233
This commit is contained in:
parent
61ed2f0c41
commit
3e0d6fc8cf
1 changed files with 7 additions and 2 deletions
|
@ -2208,9 +2208,14 @@ MingwModuleHandler::GenerateRules ()
|
||||||
|
|
||||||
if ( module.name != "zlib" ) /* Avoid make warning */
|
if ( module.name != "zlib" ) /* Avoid make warning */
|
||||||
{
|
{
|
||||||
FileLocation proxyMakefile ( OutputDirectory,
|
DirectoryLocation root;
|
||||||
|
if ( backend->configuration.GenerateProxyMakefilesInSourceTree )
|
||||||
|
root = SourceDirectory;
|
||||||
|
else
|
||||||
|
root = OutputDirectory;
|
||||||
|
FileLocation proxyMakefile ( root,
|
||||||
module.output->relative_path,
|
module.output->relative_path,
|
||||||
"makefile" );
|
"GNUmakefile" );
|
||||||
CLEAN_FILE ( proxyMakefile );
|
CLEAN_FILE ( proxyMakefile );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue