|
From: | Roberto Bagnara |
Subject: | Re: How to disable building the shared version of one library (but not all) |
Date: | Sat, 01 Nov 2008 11:50:01 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0 |
Ralf Wildenhues wrote:
* Roberto Bagnara wrote on Fri, Oct 31, 2008 at 09:40:25PM CET:I have a project that builds several libraries. For most of them, both the shared and static versions make sense, so I don't want to use AC_DISABLE_STATIC. However, for some of them the static version does not make any sense. How can I avoid the overhead of building the static version of those?libfoo_la_LIBTOOLFLAGS = --tag=disable-static
Hi Ralf, we were already doing that, but this did not prevent compiling the sources that are only determined at configure time. I had thus to use AM_LIBTOOLFLAGS = --tag=disable-static in the Makefile.am of the directory involved. Thanks, Roberto -- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |