mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
In the cygwin Makefile, use "-o" on the windres command line to specify
the output file. This appears to be supported by windres, and is required by wrc (the Winelib resource compiler). [originally from svn r9661]
This commit is contained in:
@ -484,7 +484,7 @@ if (defined $makefiles{'cygwin'}) {
|
|||||||
join " ", @{$d->{deps}})), "\n";
|
join " ", @{$d->{deps}})), "\n";
|
||||||
}
|
}
|
||||||
if ($d->{obj} =~ /\.res\.o$/) {
|
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 {
|
} else {
|
||||||
print "\t\$(CC) \$(COMPAT) \$(CFLAGS) \$(XFLAGS) -c ".$d->{deps}->[0]."\n\n";
|
print "\t\$(CC) \$(COMPAT) \$(CFLAGS) \$(XFLAGS) -c ".$d->{deps}->[0]."\n\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user