From 1b9ad4b74ab6998f6d5c3c81379f18dfe61b6494 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 3 May 2001 15:33:28 +0000 Subject: [PATCH] * ltmain.in (relink_command): Arrange for wrapper script to save output to a variable and display it only if relinking fails. --- ChangeLog | 5 +++++ ltmain.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 66258c154..1a9045518 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-03 Andreas Jaeger , Andreas Schwab + + * ltmain.in (relink_command): Arrange for wrapper script to save + output to a variable and display it only if relinking fails. + 2001-05-03 Alexandre Oliva * configure.in: Bumped version to 1.4.0a. diff --git a/ltmain.in b/ltmain.in index 0d0e59a12..4a9e5347f 100644 --- a/ltmain.in +++ b/ltmain.in @@ -3618,8 +3618,9 @@ else # relink executable if necessary if test -n \"\$relink_command\"; then - if (eval \$relink_command); then : + if relink_command_output=\`eval \$relink_command 2>&1\`; then : else + $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit 1 fi -- 2.47.3