Re: shared libtool noinst_ or check_ libraries?

From:

Jan Nieuwenhuizen

Subject:

Re: shared libtool noinst_ or check_ libraries?

Date:

Fri, 1 Dec 2006 11:23:42 +0000 (UTC)

User-agent:

Loom/3.14 (http://gmane.org/)

Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:
> Warning about what? It does just what it's documented to do, and there
> are many legitimate uses of convenience archives where it would be wrong
> to generate a shared library.
It is my understanding, that the combination of using lib_LTLIBRARY in
your Makefile.am and using --enable-shared in configure is a request
to build a shared library.
I can understand that a noinst_ or check_ prefix undoes this request.
But it would be nice if there were a more obvious switch than adding
a dummy -rpath setting. Now that I know this, the node `Building
Libtool Libraries Conditionally' is quite clear. I did not read it well,
because it was not the subject I was looking for, and it talks about
EXTRA_ libraries, whereas I was searching for noinst_ or check_.
Greetings,
Jan.