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 Prepare E2fsprogs for compilation: -../configure --prefix=/usr \ +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 The meaning of the environment variable and configure options: - + --with-root-prefix="" and --bindir=/bin