]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
In the cygwin Makefile, use "-o" on the windres command line to specify
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 13 Sep 2012 21:53:47 +0000 (21:53 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 13 Sep 2012 21:53:47 +0000 (21:53 +0000)
the output file.  This appears to be supported by windres, and is
required by wrc (the Winelib resource compiler).

[originally from svn r9661]

mkfiles.pl

index 7cb42fb6cc38e09bd5735cd29b0207b64f8dd0da..c87ae4e673e695db921a9fd40eccb4a4f0a7da12 100755 (executable)
@@ -484,7 +484,7 @@ if (defined $makefiles{'cygwin'}) {
                          join " ", @{$d->{deps}})), "\n";
       }
       if ($d->{obj} =~ /\.res\.o$/) {
-         print "\t\$(RC) \$(RCFL) \$(RCFLAGS) ".$d->{deps}->[0]." ".$d->{obj}."\n\n";
+         print "\t\$(RC) \$(RCFL) \$(RCFLAGS) ".$d->{deps}->[0]." -o ".$d->{obj}."\n\n";
       } else {
          print "\t\$(CC) \$(COMPAT) \$(CFLAGS) \$(XFLAGS) -c ".$d->{deps}->[0]."\n\n";
       }