Subject: Re: libtool, C++ and shared objects
To: None <Marc.Espie@liafa.jussieu.fr>
From: Nick Hudson <skrll@netbsd.org>
List: tech-pkg
Date: 08/20/2001 18:52:35
Marc Espie wrote:
> 
> libtool assumes that libraries will be complete, including the compiler
> cruft.
> 
> In general, libtool assumes it knows an awful number of things about
> the system that it shouldn't.
> 
> I've run into these problems in OpenBSD and solved them a while before
> 2.9...
> 
> Shutting libtool up is as simple as deactivating the deplibs_check_method,
> e.g., use pass_all, and pray you will have the libraries you need.

This should not be done as it doesn't protect against mixing pic and
non-pic static libraries. NetSBD uses its own mattch_pattern
deplibs_check_method to prevent exactly this problem.

Nick