GNU bug report logs - #11863
Building test plugins

Previous Next

Package: automake;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Wed, 4 Jul 2012 20:49:02 UTC

Severity: normal

Tags: confirmed, help

Full log


View this message in rfc822 format

From: Reuben Thomas <rrt <at> sc3d.org>
To: "Gary V. Vaughan" <gary <at> gnu.org>
Cc: 11863 <at> debbugs.gnu.org, Stefano Lattarini <stefano.lattarini <at> gmail.com>
Subject: bug#11863: Building test plugins
Date: Thu, 5 Jul 2012 08:32:48 +0100
On 5 July 2012 07:19, Gary V. Vaughan <gary <at> gnu.org> 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




This bug report was last modified 4 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.