On Tue, 9 Feb 2016, Nick Bowler wrote:

In retrospect, the default (assume undefined symbols are possible) was
probably a bad choice, because undefined symbols in libraries are rarely
used.  Thus, almost all libraries need to specify -no-undefined.  But
this can't be changed now without causing regressions.

This is not really true. For example, the linker on GNU Linux implicility supplies libraries at link time (because of how they were built) and libtool has no way to know about library dependencies which are not listed in .la files.

Some GNU Linux distributions intentionally modify libtool such that dependency libraries are not included and they delete all .la files.

The reason for intentionally losing dependency information is because the specific dependencies cause packaging problems.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to