]> git.ipfire.org Git - thirdparty/libtool.git/commit
Fix order of PATH manipulation in cwrapper and shwrapper
authorCharles Wilson <libtool@cwilson.fastmail.fm>
Fri, 17 Sep 2010 16:23:28 +0000 (12:23 -0400)
committerCharles Wilson <libtool@cwilson.fastmail.fm>
Fri, 17 Sep 2010 18:38:22 +0000 (14:38 -0400)
commit69e77671311ab54de44ba24ff5dbf5568bf1221d
tree1895caecfbc9f92e71f298a22202e37c935383d9
parent301c4cf24f5ddaa565ffb773906247deb1319aa2
Fix order of PATH manipulation in cwrapper and shwrapper

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call
lt_update_exe_path before lt_update_lib_path, to ensure that the
temporary rpath values (which include the OBJDIRs of uninstalled
libtool libraries) precede installation and final -rpath directories.
(func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending
$temp_rpath to $shlibpath_var; similar rationale as above.
Reported by Jon Turney <jon.turney@dronecode.org.uk>

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
ChangeLog
libltdl/config/ltmain.m4sh