libtool
[Top][All Lists]
Advanced

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

Re: Update soname


From: Alexandre Oliva
Subject: Re: Update soname
Date: 24 Feb 2001 02:32:19 -0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

On Feb 24, 2001, Bryce McKinlay <address@hidden> wrote:

> The "-3.0" is built in to the soname, which is not what we want
> because this will mean that every change in the release number
> breaks compatibility.

Which is exactly what the libtool documentation says.

> How can we make it use "libgcj.so.2" for the soname, and make a
> libgcj.so.2 -> libgcj-3.0.so symlink?

I suppose libtool could support a new command-line flag to tell it not
to use the release number as part of the SONAME.  Any suggestions for
the name of the flag?

It doesn't seem to be too tricky to implement.  It would amount to
setting release to an empty string before evaluating soname_spec or
the first name in library_names_spec when computing soname, right
after the comment:

        # Get the real and link names of the library.

We should probably have both forms of names (i.e., with and without
release) in library_names and link_names, though.

Any takers?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

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