aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2013-11-04 20:43:22 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2013-11-04 20:43:22 +0000
commit2027144431d3b16069e1b60cb5efea3d4bd6073a (patch)
tree65c76593a59505e7623edfbe9ad7352487f576df /chapter05
parent2f25d9e7e5200a1adbbb1b3a92a7c243e36ae473 (diff)
Disable pkg-config lookups in the Chapter 5 check program that
may cause unwanted host system libraries to be linked into check. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10369 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/check.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/chapter05/check.xml b/chapter05/check.xml
index a805bfab5..ec34ae723 100644
--- a/chapter05/check.xml
+++ b/chapter05/check.xml
@@ -42,7 +42,21 @@
<para>Prepare Check for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">PKG_CONFIG= ./configure --prefix=/tools</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the configure parameter:</title>
+
+ <varlistentry>
+ <term><parameter>PKG_CONFIG=</parameter></term>
+ <listitem>
+ <para>This tells the configure script to ignore any
+ pkg-config options that may cause the system to try to link
+ with libraries not in the <filename class="directory">/tools</filename>
+ directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Build the package:</para>