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:[EMAIL PROTECTED]


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to