[Top][All Lists]

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

Enabling shared libraries selectively

From: Roberto Bagnara
Subject: Enabling shared libraries selectively
Date: Sat, 15 Jun 2002 16:04:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

Hi there,

I have aproject where I would like to use AC_DISABLE_SHARED so that
not building shared libraries is the default.  Of course, this is ideal
for development and debugging but there is a problem: the `make check'
target in one of the project's subdirectories requires building a shared
library (because a particular test can only be done and does only make
sense with a shared library).

Can I avoid building that shared library "by hand" (with all the consequent
portability problems) and use libtool instead?
If so, how can I do it?
Thanks a lot



In the configured libtool script (version 1.4.x and today's CVS version)
that is put in the build directory it seems that the `build_libtool_libs'
variable is assigned to `no' and never changed again.
Perhaps an option like `--shared' should be added to that script
to override the default?

Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy

reply via email to

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