Changeset 2027144 for chapter05


Ignore:
Timestamp:
11/04/2013 08:43:22 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
30c09dc
Parents:
2f25d9e
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/check.xml

    r2f25d9e r2027144  
    4343    <para>Prepare Check for compilation:</para>
    4444
    45 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
     45<screen><userinput remap="configure">PKG_CONFIG= ./configure --prefix=/tools</userinput></screen>
     46
     47    <variablelist>
     48      <title>The meaning of the configure parameter:</title>
     49
     50      <varlistentry>
     51        <term><parameter>PKG_CONFIG=</parameter></term>
     52        <listitem>
     53          <para>This tells the configure script to ignore any
     54          pkg-config options that may cause the system to try to link
     55          with libraries not in the <filename class="directory">/tools</filename>
     56          directory.</para>
     57        </listitem>
     58      </varlistentry>
     59    </variablelist>
    4660
    4761    <para>Build the package:</para>
Note: See TracChangeset for help on using the changeset viewer.