From: Albert Chin-A-Young Date: Thu, 10 Nov 2005 18:29:03 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) X-Git-Tag: release-2-1b~410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a66bd4cd17242a3840f8fc5ebea034d190a514;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) : Use C++ compiler for linking rather than ld. --- diff --git a/ChangeLog b/ChangeLog index 830f43a35..1aebdc754 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-10 Albert Chin-A-Young + + * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) + : + Use C++ compiler for linking rather than ld. + 2005-11-10 Ralf Wildenhues * libltdl/m4/ltsugar.m4 (lt_join, lt_combine, lt_dict_filter): diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index eaff302a8..90d019f9a 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -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'