<hppa*64,ia64, aCC,g++>:
Use C++ compiler for linking rather than ld.
+2005-11-10 Albert Chin-A-Young <china@thewrittenword.com>
+
+ * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
+ <hppa*64,ia64, aCC,g++>:
+ Use C++ compiler for linking rather than ld.
+
2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/m4/ltsugar.m4 (lt_join, lt_combine, lt_dict_filter):
aCC*)
case $host_cpu in
hppa*64*|ia64*)
- _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
;;
*)
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
if test $with_gnu_ld = no; then
case $host_cpu in
ia64*|hppa*64*)
- _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
;;
*)
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'