compile and link complex libraries
libtool is supposed to be a drop-in replacement for the
eponymous GNU project. The following differences in behaviour with GNU Libtool
-L paths are put before absolute ones.
This fixes many (but not all, unfortunately) issues when software links to
libraries already installed instead of those just built because, for
example, “-L/usr/local/lib” comes before
- Extra (duplicate)
-l items are stripped from the link command
- When both “-lstdc++” and “-lestdc++” are
encountered in the link command line, only the latter is kept.