Ignore:
Timestamp:
May 30, 2014, 8:31:06 PM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
dda2263
Parents:
baf8424
Message:

Add --host={CLFS_TARGET} during Cross tools pkg-config configure so that the <host-triplet>-pkg-config file installed to /cross-tools/bin is named properly for when cross-compiling in temp-system. Make and Util-Linux, for example, will look for <triplet>-pkg-config based on the running host (x86_64, etc) and will look for x86_64-pkg-config on the host rather than use /cross-tools/bin/pkg-config or /cross-tools/bin/{CLFS_TARGET}-pkg-config. This will fix that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/multilib/pkg-config-lite.xml

    rbaf8424 r39612b5  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>./configure --prefix=/cross-tools \
     33<screen os="c"><userinput>./configure --prefix=/cross-tools --host=${CLFS_TARGET} \
    3434    --with-pc-path=/tools/lib64/pkgconfig:/tools/share/pkgconfig</userinput></screen>
    3535
     
    4343          <filename class="directory">/tools/lib64/pkgconfig</filename> and
    4444          <filename class="directory">/tools/share/pkgconfig</filename>.</para>
     45        </listitem>
     46      </varlistentry>
     47
     48      <varlistentry>
     49        <term><parameter>--host=${CLFS_TARGET}</parameter></term>
     50        <listitem>
     51          <para>This option makes sure the installation includes the proper
     52          <command>{$CLFS_TARGET}-pkg-config</command> to be detected and used
     53          when cross-compiling some tools in the temporary system and boot
     54          chapter.</para>
    4555        </listitem>
    4656      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.