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

ChangeLog
libltdl/m4/libtool.m4

index 830f43a353eff2733c6586dfa7b8fb143f393d5a..1aebdc75443c656ec572cf48d717f55e076b6767 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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):
index eaff302a806882891a5c3e490f235fd037be5484..90d019f9a438fbf4096921b1527361c6b47ecc66 100644 (file)
@@ -5435,7 +5435,7 @@ if test "$_lt_caught_CXX_error" != yes; then
           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'
@@ -5456,7 +5456,7 @@ if test "$_lt_caught_CXX_error" != yes; then
              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'