mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Fix use of LDFLAGS in Makefile.ux.
Same idea as commit 68b1933326
for Makefile.gtk.
This commit is contained in:
parent
25b034ee39
commit
b6f296a17a
@ -1523,11 +1523,12 @@ if (defined $makefiles{'unix'}) {
|
|||||||
print "\n\n";
|
print "\n\n";
|
||||||
foreach $p (&prognames("U:UT")) {
|
foreach $p (&prognames("U:UT")) {
|
||||||
($prog, $type) = split ",", $p;
|
($prog, $type) = split ",", $p;
|
||||||
|
($ldflags = $type) =~ s/T$//;
|
||||||
$objstr = &objects($p, "X.o", undef, undef);
|
$objstr = &objects($p, "X.o", undef, undef);
|
||||||
print &splitline($prog . ": " . $objstr), "\n";
|
print &splitline($prog . ": " . $objstr), "\n";
|
||||||
$libstr = &objects($p, undef, undef, "-lX");
|
$libstr = &objects($p, undef, undef, "-lX");
|
||||||
print &splitline("\t\$(CC) -o \$@ " .
|
print &splitline("\t\$(CC) -o \$@ " .
|
||||||
$objstr . " \$(${type}LDFLAGS) $libstr", 69), "\n\n";
|
$objstr . " \$(${ldflags}LDFLAGS) $libstr", 69), "\n\n";
|
||||||
}
|
}
|
||||||
foreach $d (&deps("X.o", undef, $dirpfx, "/", "unix")) {
|
foreach $d (&deps("X.o", undef, $dirpfx, "/", "unix")) {
|
||||||
if ($forceobj{$d->{obj_orig}}) {
|
if ($forceobj{$d->{obj_orig}}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user