diff --git a/chapter06/xz.xml b/chapter06/xz.xml
index 868c8aded..6a4fbe708 100644
--- a/chapter06/xz.xml
+++ b/chapter06/xz.xml
@@ -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;
+
+ The meaning of the new configure options:
+
+
+
+ ac_cv_prog_FILECMD=file
+
+ Works around an issue in the shipped libtool copy causing
+ the configure script fail to find the file
+ command of the host distro. The issue is harmless for most
+ architectures, but it can make
+ --disable-static ineffective for
+ MIPS.
+
+
+
+
+
Compile the package:
make
diff --git a/chapter08/xz.xml b/chapter08/xz.xml
index 316b8558e..099caa2da 100644
--- a/chapter08/xz.xml
+++ b/chapter08/xz.xml
@@ -52,6 +52,7 @@
./configure --prefix=/usr \
--disable-static \
+ ac_cv_prog_FILECMD=file \
--docdir=/usr/share/doc/xz-&xz-version;
Compile the package: