A default build of avogadrolibs sets BUILD_STATIC_PLUGINS=ON in avogadro/qtplugins/CMakeLists.txt, causing the static plugin .a libraries to be installed in /usr/lib/x86_64-linux-gnu/avogadro2/staticplugins/.
These take up some disk space (250 MB), and are in any case also compiled into libAvogadroQtPlugins.so. Debian Bug#1022755 points out that it should be possible to save space in Debian installations by not including these static plugin libraries in the libavogadro2-1 binary package.
It’s easy enough in the Debian packaging to provide /usr/lib/x86_64-linux-gnu/avogadro2/staticplugins/ in the libavogadro-dev development package instead of the libavogadro2-1 package.
Before doing that, I want to verify that the staticplugins directory is not used at runtime. Or at least, that the .a plugins libraries compiled into libAvogadroQtPlugins.so do not also need to be provided in the runtime directory (i.e. runtime functionality is provided via libAvogadroQtPlugins.so, not via the .a files in the staticplugins directory).
Is that the case? Is it safe to not provide staticplugins in the debian libavogadro2-1 runtime package?