libtool
[Top][All Lists]
Advanced

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

Re: How to build a noinst_ but still shared library?


From: Ralf Wildenhues
Subject: Re: How to build a noinst_ but still shared library?
Date: Sat, 20 Mar 2010 01:23:02 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hi Dave,

* Dave Korn wrote on Sat, Mar 20, 2010 at 01:35:19AM CET:
> "   Libtool convenience libraries are declared by directory-less
> variables such as `noinst_LTLIBRARIES', `check_LTLIBRARIES', or even
> `EXTRA_LTLIBRARIES'.  "
> 
>   So: how do you build a shared library in your "make check" run, without it
> ending up installed somewhere during "make install"?  (In case it's relevant,
> the project is all flat in a single non-recursive Makefile, so I can't just
> e.g. force the subconfigure in tests/ to use a bogus $prefix choice under
> $objdir somewhere.)

check_LTLIBRARIES = libfoo.la
libfoo_la_LDFLAGS = -rpath /nowhere

Cheers,
Ralf




reply via email to

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