mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
* config/ltmain.m4sh (func_mode_link): Make Gary's new tests
pass. When the output wrapper script is not in the current directory, we can not use an rpath which is relative to the current directory. Use an absolute path instead.
This commit is contained in:
parent
7bcbdbbc55
commit
596e2489bd
@ -1,3 +1,10 @@
|
|||||||
|
2004-10-23 Peter O'Gorman <peter@pogma.com>
|
||||||
|
|
||||||
|
* config/ltmain.m4sh (func_mode_link): Make Gary's new tests
|
||||||
|
pass. When the output wrapper script is not in the current
|
||||||
|
directory, we can not use an rpath which is relative to the
|
||||||
|
current directory. Use an absolute path instead.
|
||||||
|
|
||||||
2004-10-22 Gary V. Vaughan <gary@gnu.org>
|
2004-10-22 Gary V. Vaughan <gary@gnu.org>
|
||||||
|
|
||||||
* clcommit.m4sh: Add --rcfile option.
|
* clcommit.m4sh: Add --rcfile option.
|
||||||
|
@ -5495,7 +5495,17 @@ EOF
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Relative path: add a thisdir entry.
|
# Relative path: add a thisdir entry.
|
||||||
rpath="$rpath\$thisdir/$dir:"
|
case "$output" in
|
||||||
|
*[[\\/]]*)
|
||||||
|
# the output file is not in the current dir
|
||||||
|
# so we need an absolute path.
|
||||||
|
absdir=`cd "$dir" && pwd`
|
||||||
|
rpath="$rpath$absdir:"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
rpath="$rpath\$thisdir/$dir:"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user