Hello Steven, * Steven Brown wrote on Tue, Feb 26, 2008 at 04:16:42AM CET: > > noinst_LTLIBRARIES = libconvenience.la > libconvenience_la_LDFLAGS = -static > libconvenience_la_SOURCES = convenience.cc convenience.hpp
> Is there a way to tell libtool to not build those PIC objects without > disabling shared libraries globally in the project with > AC_DISABLE_SHARED? The only thing I could find about this was this > thread[1] but the patch doesn't seem to have been applied. With CVS HEAD Libtool, try libconvenience_la_CXXFLAGS = -static or with either HEAD or 1.5.x, and Automake >= 1.10, try libconvenience_la_LIBTOOLFLAGS = --tag=disable-shared Hope that helps. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool