GNU bug report logs -
#11863
Building test plugins
Previous Next
Full log
View this message in rfc822 format
tags 11863 + moreinfo
thanks
On 07/04/2012 10:43 PM, Reuben Thomas wrote:
> I have a library that I want to build just for tests. Hence, I add it
> to check_LTLIBRARIES. It's a plugin, so I want the .so (or .dll or
> whatever) to be built, but it isn't!
>
It isn't built when you run "make check"? That is a bug.
It isn't built when you run "make all"? That is a expected.
As the documentation says:
The special prefix 'check_' indicates that the objects in question
should not be built until the "make check" command is run. Those
objects are not installed either.
> If I instead add the library to pkglib_LTLIBRARIES, then the shared
> object is built, but the test library is installed, which is not what
> I want.
>
> Reading the automake & libtool manuals, I can't see anything about
> what exactly triggers building of the shared object; can someone tell
> me what I should do in this instance to get a shared object for tests
> only?
>
HTH,
Stefano
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.