LIBTOOL(1) | General Commands Manual | LIBTOOL(1)

# NAME

`libtool` — compile and link complex libraries

# DESCRIPTION

`libtool` is supposed to be a drop-in replacement for the eponymous GNU project. The following differences in behaviour with GNU Libtool are intentional:

- Relative `-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 "-L../libfoo".
- Extra (duplicate) `-L` and `-l` items are stripped from the link command line.
- When both "-lstdc++" and "-lestdc++" are encountered in the link command line, only the latter is kept.

January 2, 2017 | Debian