libtoolize(1)
Prepare a package to use libtool by adding necessary build files and macros.
Synopsis
libtoolize [OPTION]... [DIRECTORY]...Description
libtoolize is a tool that automatically adds libtool support to a package. It copies libtool's helper scripts and M4 macro definitions into your source tree, allowing you to use libtool's features for building shared libraries portably across different Unix-like systems.
Run libtoolize in the top-level directory of your package before running autoconf or automake. It detects your package's configuration and installs the appropriate files needed for libtool integration.
Common options
| Flag | What it does |
|---|---|
--install | Copy libtool files to the package; required for initial setup |
--force | Overwrite existing libtool files even if already present |
--copy | Copy files instead of symlinking them |
--dry-run | Show what would be done without making changes |
--quiet | Suppress informational messages |
--verbose | Print verbose progress information |
--version | Display the libtool version and exit |
--help | Show help message and exit |
Examples
Install libtool files into current package, copying instead of symlinking, overwriting any existing files
libtoolize --install --copy --forceBasic setup: add libtool support to the current package directory
libtoolize --installInitialize libtool in myproject with detailed output showing what files are being installed
cd myproject && libtoolize --install --verbosePreview what libtoolize would install without actually making changes
libtoolize --dry-run --installReinitialize libtool support in a specific package directory with forced file replacement
libtoolize --force --copy /path/to/packageCheck which version of libtool is installed
libtoolize --version