libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch for exported symbols on IRIX


From: Michael Pruett
Subject: Re: patch for exported symbols on IRIX
Date: Sun, 22 Feb 2004 16:02:47 -0500
User-agent: Mutt/1.3.28i

On Sat, Feb 21, 2004 at 06:06:25AM -0600, Albert Chin wrote:
> Looks good to me.
> 
> Michael, please submit a Changelog entry and, in the future, supply a
> unified diff (diff -u).

Thanks for reviewing this patch, Albert.

Here's my proposed ChangeLog entry:

2004-02-22  Michael Pruett <address@hidden>

        * m4/libtool.m4: Define archive_expsym_cmds on IRIX.

And here's a unified diff patch:

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.48
diff -u -r1.48 libtool.m4
--- libtool.m4  22 Feb 2004 11:13:45 -0000      1.48
+++ libtool.m4  22 Feb 2004 20:59:03 -0000
@@ -3911,8 +3911,10 @@
     irix5* | irix6* | nonstopux*)
       if test "$GCC" = yes; then
        _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'
       fi
       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]