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.
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:
This will allow pkg-config to use it's internal version of glib because an external version is not available in LFS.
This option disables the creation of an undesired hard link to the pkg-config program.
Compile the package:
To test the results, issue:
Install the package: