%general-entities; ]> Pkg-config-lite-&pkg-config-lite-version; Pkg-config-lite cross tools Installation of Pkg-config-lite Several packages in the temporary system will use pkg-config to find various required and optional dependencies. Unfortunately, this could result in those packages finding libraries on the host system and trying to link against them, which will not work. To avoid this problem, we will install a pkg-config binary in /cross-tools and configure it so that it will look for Pkg-config files only in /tools. Prepare Pkg-config-lite for compilation: ./configure --prefix=/cross-tools --host=${CLFS_TARGET}\ --with-pc-path=/tools/lib/pkgconfig:/tools/share/pkgconfig The meaning of the new configure option: --with-pc-path This sets the default PKG_CONFIG_PATH to /tools/lib/pkgconfig and /tools/share/pkgconfig. --host=${CLFS_TARGET} This option makes sure the installation includes the proper {$CLFS_TARGET}-pkg-config to be detected and used when cross-compiling some tools in the temporary system and boot chapter. Compile the package: make Install the package: make install <para>Details on this package are located in <xref linkend="contents-pkg-config-lite" role="."/></para> </sect2> </sect1>