如何告诉 Automake 构建一个不需要安装的动态模块?
pkglib_LTLIBRARIES = mywrapper.la
mywrapper_la_LDFLAGS = -no-undefined -module -avoid-version
导致 mywrapper.so 安装到pkglibdir
.
noinst_LTLIBRARIES = mywrapper.la
mywrapper_la_LDFLAGS = -no-undefined -module -avoid-version
导致改为构建静态便利库。
有问题的动态模块仅用于运行测试套件,因此不被分发。