On 5 July 2012 07:19, Gary V. Vaughan <g...@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