浏览代码

Revert inadvertant changes to e2fsprogs instructions

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11431 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 7 年之前
父节点
当前提交
fd824cf440
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      chapter06/e2fsprogs.xml

+ 6 - 3
chapter06/e2fsprogs.xml

@@ -52,7 +52,10 @@ cd build</userinput></screen>
 
     <para>Prepare E2fsprogs for compilation:</para>
 
-<screen><userinput remap="configure">../configure --prefix=/usr           \
+<screen><userinput remap="configure">LIBS=-L/tools/lib                    \
+CFLAGS=-I/tools/include              \
+PKG_CONFIG_PATH=/tools/lib/pkgconfig \
+../configure --prefix=/usr           \
              --bindir=/bin           \
              --with-root-prefix=""   \
              --enable-elf-shlibs     \
@@ -63,7 +66,7 @@ cd build</userinput></screen>
 
     <variablelist>
       <title>The meaning of the environment variable and configure options:</title>
-<!--
+
       <varlistentry>
         <term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term>
         <listitem>
@@ -71,7 +74,7 @@ cd build</userinput></screen>
           <xref linkend="ch-tools-util-linux"/> package built earlier.</para>
         </listitem>
       </varlistentry>
--->
+
       <varlistentry>
         <term><parameter>--with-root-prefix=""</parameter> and
               <parameter>--bindir=/bin</parameter></term>