From 4f17e338d25acc65dcce89dfa9e16458eccffe74 Mon Sep 17 00:00:00 2001 From: Robert Boehne Date: Fri, 20 Dec 2002 04:56:26 +0000 Subject: [PATCH] * ltmain.in: Use the sed program found by LT_AC_PROG_SED so that relink commands don't get truncated. --- ChangeLog | 5 +++++ ltmain.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 753209646..ec2a9835a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-12-19 Robert Boehne + + * ltmain.in: Use the sed program found by LT_AC_PROG_SED + so that relink commands don't get truncated. + 2002-12-18 Robert Boehne * libtool.m4: Move AC_REQUIRE([LT_AC_PROG_SED]) to AC_PROG_LD diff --git a/ltmain.in b/ltmain.in index 20c099fc5..d365637f3 100644 --- a/ltmain.in +++ b/ltmain.in @@ -4892,7 +4892,7 @@ relink_command=\"$relink_command\"" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"` + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that @@ -4907,9 +4907,9 @@ relink_command=\"$relink_command\"" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"` + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 -- 2.47.2