6.20. Pkg-config-0.28

The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution.

Приблизительное время сборки: 0.4 SBU
Требует свободного места на диске: 31 MB

6.20.1. Установка Pkg-config

Prepare Pkg-config for compilation:

./configure --prefix=/usr         \
            --with-internal-glib  \
            --disable-host-tool   \
            --docdir=/usr/share/doc/pkg-config-0.28

The meaning of the new configure options:

--with-internal-glib

This will allow pkg-config to use it's internal version of glib because an external version is not available in LFS.

--disable-host-tool

This option disables the creation of an undesired hard link to the pkg-config program.

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

6.20.2. Contents of Pkg-config

Installed program: pkg-config
Installed directory: /usr/share/doc/pkg-config-0.28

Краткое описание

pkg-config

returns meta information for the specified library or package.