mips64el: chapter06/xz: Work around a libtool bug

This commit is contained in:
Xi Ruoyao 2024-09-15 17:42:24 +08:00
parent 7b85e11731
commit 91c8848da1
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 20 additions and 0 deletions

View File

@ -49,8 +49,27 @@
--host=$LFS_TGT \
--build=$(build-aux/config.guess) \
--disable-static \
ac_cv_prog_FILECMD=file \
--docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>
<!-- https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=9a4a02615c9e -->
<varlistentry>
<term><parameter>ac_cv_prog_FILECMD=file</parameter></term>
<listitem>
<para>Works around an issue in the shipped libtool copy causing
the configure script fail to find the <command>file</command>
command of the host distro. The issue is harmless for most
architectures, but it can make
<parameter>--disable-static</parameter> ineffective for
MIPS.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>

View File

@ -52,6 +52,7 @@
<screen><userinput remap="configure">./configure --prefix=/usr \
--disable-static \
ac_cv_prog_FILECMD=file \
--docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
<para>Compile the package:</para>