[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot avoid libtool producing static library and la file for a plug
From: |
Ralf Wildenhues |
Subject: |
Re: Cannot avoid libtool producing static library and la file for a plugin |
Date: |
Tue, 2 Sep 2008 23:12:48 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Stefan,
* Stefan Kost wrote on Tue, Sep 02, 2008 at 09:04:35PM CEST:
> I am using this in my Makefile.am for plugins
>
> lib_LTLIBRARIES = libabc.la
> libabc_la_LDFLAGS = -module -avoid-version
>
> This correctly avoid creating version link. Now I've also tried to add
> "-shared" to libabc_la_LDFLAGS, because for the plugin I don't need .a
> files. It does not make sense to link against them. For the same reason
> installing the .la file is not useful.
Both do make sense if you allow for preopened modules (see the manual
for details).
> I can use AC_DISABLE_STATIC in configure.ac to disable making static
> libs. But that wpould be project wide.
>
> I am using this version of libtool:
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
Update, please.
You can try
libabc_la_LIBTOOLFLAGS = --tag=disable-static
Cheers,
Ralf
- Cannot avoid libtool producing static library and la file for a plugin, Stefan Kost, 2008/09/02
- Re: Cannot avoid libtool producing static library and la file for a plugin,
Ralf Wildenhues <=
- Re: Cannot avoid libtool producing static library and la file for a plugin, Stefan Kost, 2008/09/03
- Re: Cannot avoid libtool producing static library and la file for a plugin, Ralf Wildenhues, 2008/09/03
- Re: Cannot avoid libtool producing static library and la file for a plugin, Stefan Kost, 2008/09/04
- Re: Cannot avoid libtool producing static library and la file for a plugin, Stefan Kost, 2008/09/04
- Re: Cannot avoid libtool producing static library and la file for a plugin, Stefan Kost, 2008/09/08
- finish mode needed for plugins? (was: Cannot avoid libtool producing static library and la file for) a plugin, Ralf Wildenhues, 2008/09/09