diff options
Diffstat (limited to 'chapter06/pkg-config.xml')
-rw-r--r-- | chapter06/pkg-config.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter06/pkg-config.xml b/chapter06/pkg-config.xml index 444a30c9a..12498d289 100644 --- a/chapter06/pkg-config.xml +++ b/chapter06/pkg-config.xml @@ -48,9 +48,15 @@ url="&blfs-root;view/svn/general/popt.html">BLFS Popt build instructions</ulink> before installing Pkg-config.</para></note> + + <para>Fix a problem with one of Pkg-config's tests:</para> + +<screen><userinput remap="pre">sed -i -e '21s/EXPECT_RETURN=1/EXPECT_RETURN=0/' check/check-cmd-options</userinput></screen> + <para>Prepare Pkg-config for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> +<screen><userinput remap="configure">GLIB_LIBS="-L/usr/lib -lglib-2.0" \ + GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" ./configure --prefix=/usr</userinput></screen> <para>Compile the package:</para> |