aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/e2fsprogs.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index f127be40e..f95317273 100644
--- a/chapter06/e2fsprogs.xml
+++ b/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>