> I.e. only static library of lto-plugin gets built. Ahh, static library for lto-plugin is of course pointless thing. I guess we want to disable plugin when --disable-shared is passed. I will see if my autoconf-fu is on par to do so.
Still, it is bit sad situation - you are right that you are not interested in shared libraries for cross, but you might be still interested in plugin for LTO. Either we need to document the dependency (and warn when plugin is available but shared libs are disabled) or just enable shared libs for the plugin itself. I am adding paolo to CC, he should know best what to do here. Honza