import newer Libtool?

Message ID
State New
Headers show

Commit Message

Ralf Wildenhues Jan. 13, 2011, 6:53 p.m.
* 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
> >>>     <>,
> >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.


Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.

2011-01-13  John David Anglin  <>

	* (relink): Use absolute path when hardcoding with -L.


diff --git a/ b/
index cba8b4c..a03433f 100644
--- a/
+++ b/
@@ -5928,7 +5928,7 @@  func_mode_link ()
 	         test "$hardcode_direct_absolute" = no; then
 	      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