`hardcode_libdir_flag_spec_ld' if we're using `$CC' to link.
* libtool.m4 () [ hpux10, hpux11; hppa*64*, ia64* ]
<hardcode_libdir_flag_spec_ld>: Removed.
Reported by Roger While <simrw@sim-basis.de>.
+2006-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * ltmain.in (link mode): Disregard
+ `hardcode_libdir_flag_spec_ld' if we're using `$CC' to link.
+ * libtool.m4 () [ hpux10, hpux11; hppa*64*, ia64* ]
+ <hardcode_libdir_flag_spec_ld>: Removed.
+ Reported by Roger While <simrw@sim-basis.de>.
+
2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* ltmain.in (link mode): Honor `-threads', similar to `-mt'.
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
case $host_cpu in
- hppa*64*|ia64*)
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
- ;;
+ hppa*64*|ia64*) ;;
*)
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
;;
test -n "$hardcode_libdirs"; then
libdir="$hardcode_libdirs"
if test -n "$hardcode_libdir_flag_spec_ld"; then
- eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
+ case $archive_cmds in
+ *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
+ *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
+ esac
else
eval dep_rpath=\"$hardcode_libdir_flag_spec\"
fi