libtool
[Top][All Lists]
Advanced

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

Re: Customizing soname


From: Peter O'Gorman
Subject: Re: Customizing soname
Date: Thu, 27 Mar 2008 12:44:36 -0500
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Alon Bar-Lev wrote:
> On 3/27/08, Peter O'Gorman <address@hidden> wrote:
>> Why? I can understand wanting to change the extension, we have -shrext
>>  for that. But why do you want the user to have the option to set the name?
> 
> Hi!
> 
> Because I generate a plugin, each configuration results in different plugin.
> I also have this when I produce proxy shared library.
> 
> I can do this very simple with automake/libtool if I rename the output. But
> not got any solution of how to correct the soname.
> 
> Maybe I can do this with some ELF hacking utility, but I think that adding
> the ability to override the soname via libtool is the simplest and cleanest.

Does automake complain if you do something like:

@PLUGIN_TARGET@: foo.lo
        $(LIBTOOL) --mode=link --tag=CC $(CCLD) -o @PLUGIN_TARGET@ \
        foo.lo -avoid-version -module

install-exec-hook: @PLUGIN_TARGET@
        $(LIBTOOL) --mode=install $(INSTALL) @PLUTIN_TARGET@ \
        $(DESTDIR)$(libdir)

?

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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