]> git.ipfire.org Git - thirdparty/libtool.git/commit
teach libtool -L= and -R=
authorPaolo Bonzini <bonzini@gnu.org>
Wed, 28 Jul 2010 21:59:30 +0000 (23:59 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Wed, 11 Aug 2010 18:43:03 +0000 (14:43 -0400)
commitc45a28813427ec5e25414d2a0db754eb9bbd970b
tree849497bb8bbfd1fc68a832ecb47eb29ffcdffddd
parent3334f7ed5851ef1e96b052f2984c4acdbf39e20c
teach libtool -L= and -R=

* libltdl/config/ltmain.m4sh (func_resolve_sysroot): New.
(func_mode_link): Always pass result of stripping -L and -R to
func_resolve_sysroot before using it.  Remove absolute path expansion
when func_resolve_sysroot subsumes it.  Expand sysroot in -rpath.
When processing dependent libraries also resolve sysroot paths there.

Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
libltdl/config/ltmain.m4sh