]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ hpux10, hpux11 ]
authorAlbert Chin-A-Young <china@thewrittenword.com>
Thu, 10 Nov 2005 18:29:38 +0000 (18:29 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 10 Nov 2005 18:29:38 +0000 (18:29 +0000)
<hppa*64,ia64, aCC,g++>:
Use C++ compiler for linking rather than ld.

ChangeLog
libtool.m4

index 24fd4c69bfd82e1051ac810e5a0799d4d71c6cd4..e3834decf708f842312822089949eda698a5c35e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-10  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ hpux10, hpux11 ]
+       <hppa*64,ia64, aCC,g++>:
+       Use C++ compiler for linking rather than ld.
+
 2005-11-09  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Move setting of
index b3f200bb7f0cbba964f05270bdcbd3170f70a687..22a898dabee4fb22e7fcb818aa6c9dc11b4b2821 100644 (file)
@@ -3171,7 +3171,7 @@ case $host_os in
       aCC*)
        case $host_cpu in
        hppa*64*|ia64*)
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
          ;;
        *)
          _LT_AC_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'
@@ -3192,7 +3192,7 @@ case $host_os in
          if test $with_gnu_ld = no; then
            case $host_cpu in
            ia64*|hppa*64*)
-             _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
              ;;
            *)
              _LT_AC_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'