libtool-patches
[Top][All Lists]
Advanced

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

Re: AIX shared libraries in MLB and 1.4


From: libtool-patches
Subject: Re: AIX shared libraries in MLB and 1.4
Date: Wed, 25 Apr 2001 14:34:09 -0500
User-agent: Mutt/1.1.12i

On Wed, Apr 25, 2001 at 11:08:05AM -0500, address@hidden wrote:
> It looks like AIX has been using 
> version_type=linux
> for quite some time.  So I guess we should keep using it.

Ok, patch to MLB to sync with 1.4 attached.

ChangeLog:
2001-04-25  Albert Chin-A-Young  <address@hidden>

        * ltconfig.in: Remove `.o' from end of shared library
        names in AIX (sync with 1.4 branch). Use $major number
        in shared library name by setting version_type=linux.

> Dan
> 
> > From: address@hidden
> > 
> > On Wed, Apr 25, 2001 at 10:38:31AM -0500, address@hidden wrote:
> > > I've been meaning to send in a patch about this:
> > > 
> > > soname_spec='${libname}${release}.so$major'
> > > 
> > > is what we finally decided to go with for AIX standard linking.
> > > It is important to get these synched up, or we will have binary
> > > compatibility problems.
> > 
> > And do you plan to leave version_type=linux for 1.4? To keep 1.4 and
> > MLB the same, we need to decide on whether or not version_type=linux
> > and what soname_spec is. I'm fine with removing version_type=linux and
> > making soname_spec equivalent to what you have above (though different
> > from MLB but I'm assuming you know better what to do).
> > 
> > -- 
> > albert chin (address@hidden)

-- 
albert chin (address@hidden)

-- snip snip
Index: ltconfig.in
===================================================================
RCS file: /home/cvs/libtool/Attic/ltconfig.in,v
retrieving revision 1.246.2.58
diff -u -3 -p -r1.246.2.58 ltconfig.in
--- ltconfig.in 2001/04/24 22:20:08     1.246.2.58
+++ ltconfig.in 2001/04/25 17:04:01
@@ -984,6 +984,7 @@ aix3*)
   ;;
 
 aix4* | aix5*)
+  version_type=linux
   if test "$host_cpu" = ia64; then
     # AIX 5 supports IA64
     library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
@@ -1002,7 +1003,7 @@ aix4* | aix5*)
       # We preserve .a as extension for shared libraries though AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='${libname}${release}.a $libname.a'
-      soname_spec='${libname}${release}.so$major.o'
+      soname_spec='${libname}${release}.so$major'
     fi
     # If we're using GNU nm, then we don't want the "-C" option.
     # -C means demangle to AIX nm, but means don't demangle with GNU nm



reply via email to

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