mirror of
https://github.com/dlang/tools.git
synced 2025-04-25 20:51:00 +03:00
Merge pull request #115 from MartinNowak/pick114
Merge pull request #114 from Abscissa/master
This commit is contained in:
commit
9236321d37
1 changed files with 3 additions and 0 deletions
3
rdmd.d
3
rdmd.d
|
@ -395,6 +395,9 @@ private int rebuild(string root, string fullExe,
|
|||
string workDir, string objDir, in string[string] myDeps,
|
||||
string[] compilerFlags, bool addStubMain)
|
||||
{
|
||||
version (Windows)
|
||||
fullExe = fullExe.defaultExtension(".exe");
|
||||
|
||||
// Delete the old executable before we start building.
|
||||
yap("stat ", fullExe);
|
||||
if (!dryRun && exists(fullExe))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue