bug-automake
[Top][All Lists]
Advanced

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

bug#11863: Building test plugins


From: Reuben Thomas
Subject: bug#11863: Building test plugins
Date: Thu, 5 Jul 2012 08:32:48 +0100

On 5 July 2012 07:19, Gary V. Vaughan <address@hidden> wrote:
>
> Currently the best way to tell Automake to only build a libtool library
> for `make check' without installing it, but at the same time to tell libtool
> not to make a convenience archive is:
>
>   check_LTLIBRARIES += tests/libalientest.la
>
>   tests_libalientest_la_LDFLAGS = -module -avoid-version -rpath /dev/null
>
> The -rpath argument tells libtool that this is not a convenience archive.
> The parameter can be anything, because Automake will not install a
> check_LTLIBRARIES object anyway, but /dev/null makes it clearer that we'r
> doing something a bit odd here.

Thanks very much, that does exactly what I'm after.

-- 
http://rrt.sc3d.org





reply via email to

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