How do I tell Automake to create a dynamic module that will not be installed?
pkglib_LTLIBRARIES = mywrapper.la mywrapper_la_LDFLAGS = -no-undefined -module -avoid-version
causes mywrapper.so to be installed on pkglibdir
.
noinst_LTLIBRARIES = mywrapper.la mywrapper_la_LDFLAGS = -no-undefined -module -avoid-version
creates a static convenience library instead.
The dynamic module under consideration is used only to run a set of tests and, therefore, it cannot be distributed.
source share