From: Andreas Jaeger Date: Thu, 3 May 2001 15:33:28 +0000 (+0000) Subject: * ltmain.in (relink_command): Arrange for wrapper script to save X-Git-Tag: release-1-4-1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9ad4b74ab6998f6d5c3c81379f18dfe61b6494;p=thirdparty%2Flibtool.git * ltmain.in (relink_command): Arrange for wrapper script to save output to a variable and display it only if relinking fails. --- 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