Hello Thomas, * Thomas Koeller wrote on Tue, Jul 03, 2007 at 11:27:40AM CEST: > > when building a shared object to serve as a loadable module that is > dlopen'ed by some program, there is little reason to build a static > version even if --enable-static has been given to configure.
Not if your program supports dlpreopening: <http://www.gnu.org/software/libtool/manual.html#Dlpreopening> > Only a shared object should be built in this case, regardless of > enable_shared and enable_static. Is there a supported way to achieve > this? Well, you can just not build the module in this case. If you're using Automake, you can use a conditional <http://sources.redhat.com/automake/automake.html#Conditionals> based on $enable_shared and just not build the module if it is not "yes". Hope that helps. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool