]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4: Use cc rather than ld to created
authorAlbert Chin-A-Young <china@thewrittenword.com>
Mon, 19 Apr 2004 13:19:11 +0000 (13:19 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 19 Apr 2004 13:19:11 +0000 (13:19 +0000)
a shared library on IRIX.

ChangeLog
m4/libtool.m4

index a9056a2762ef42031785f1db453c40a6b7c389d4..5d31590a63dc92aadfbcfd0a34dc8c26a8d9818b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-04-19  Albert Chin-A-Young  <china@thewrittenword.com>
 
+       * m4/libtool.m4: Use cc rather than ld to created
+       a shared library on IRIX.
+
        * libltdl/loader-shl_load.c: Fix typos during reorg.
 
 2004-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
index 14c10767e4120f70378c5d8f43fbe94c3f3cc9b0..eaaa3f04e26456157a21382c7549051fc3e63b95 100644 (file)
@@ -3956,10 +3956,10 @@ _LT_EOF
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
       else
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
       fi
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)='no'
       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
       _LT_AC_TAGVAR(inherit_rpath, $1)=yes