import newer Libtool?
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Thu Jan 13 19:05:00 GMT 2011
* Paolo Bonzini wrote on Thu, Jan 13, 2011 at 10:06:15AM CET:
> On 01/12/2011 06:35 PM, Ralf Wildenhues wrote:
> >>> - linking/testing/installing on HP-UX should work again
> >>> <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00893.html>,
> >In that case I'd still like to ask for committing the above one-line
> >patch to trunk right away; it had been submitted in time but we simply
> >didn't get it analyzed in time. I think that it may even be considered
> >a regression because due to libquadmath not existing in 4.5 GCC did not
> >have this issue before. OK?
>
> That's okay if the patch is in upstream Libtool.
Yes, it is. I've pushed it now in John's name, and am merging to src.
Thanks,
Ralf
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
2011-01-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* ltmain.sh (relink): Use absolute path when hardcoding with -L.
diff --git a/ltmain.sh b/ltmain.sh
index cba8b4c..a03433f 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -5928,7 +5928,7 @@ func_mode_link ()
test "$hardcode_direct_absolute" = no; then
add="$dir/$linklib"
elif test "$hardcode_minus_L" = yes; then
- add_dir="-L$dir"
+ add_dir="-L$absdir"
# Try looking first in the location we're being installed to.
if test -n "$inst_prefix_dir"; then
case $libdir in
More information about the Gcc-patches
mailing list