On Wed, 17 Feb 2010, spam...@gmx.info wrote:
But I'm a but wondering, why libtool can't be forced to omit certain flags in the *la files.
Libtool assumes that everything is built with the same compiler. In the case of threads (and particularly on Solaris) it is important for the option to be preserved, or dependent programs/libraries might not work. This is because Solaris provides some stub pthread functions via weak symbols which do nothing (and return an error code) so that thread-safe libraries may be used by single-threaded programs.
Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/