How to tell Automake to build a dynamic module which is not to be installed?
pkglib_LTLIBRARIES = mywrapper.la
mywrapper_la_LDFLAGS = -no-undefined -module -avoid-version
causes mywrapper.so to be installed to pkglibdir
.
noinst_LTLIBRARIES = mywrapper.la
mywrapper_la_LDFLAGS = -no-undefined -module -avoid-version
causes static convenience library to be built instead.
The dynamic module in question is only used to run a test suite, and hence is not to be distributed.
check_PROGRAMS
? Or do we usenoinst_PROGRAMS
? – Manymanya