| FREETYPE-CONFIG(1) | General Commands Manual | FREETYPE-CONFIG(1) |
freetype-config - Get information about a libfreetype installation
freetype-config [options]
freetype-config returns information needed for compiling and linking programs with the FreeType library, such as linker flags and compilation parameters. Alternatively, it can be used to query information about the FreeType library version installed on the system, such as the installation (directory path) prefix or the FreeType version number.
If pkg-config(1) is found in the path, freetype-config acts as a wrapper for pkg-config.
This program is part of the FreeType package.
There are two types of options: output/display selection options, and path override options.
Only one of the output selection options should be given at each program invocation.
These affect any selected output option, except the libtool version returned by --version.
In case the libraries FreeType links to are located in non-standard directories, and pkg-config(1) is not available, the output from option --libs might be incomplete. It is thus recommended to use the pkg-config(1) interface instead, which is able to correctly resolve all dependencies.
Setting --exec-prefix (either explicitly or implicitly) might return incorrect results if combined with option --static. The same problem can occur if you set the SYSROOT environment variable.
This manual page was contributed by Nis Martensen <nis.martensen@web.de>, with further refinements from the FreeType team.
| August 2023 | FreeType 2.13.2 |