aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gawk-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gawk-inst.xml')
-rw-r--r--chapter05/gawk-inst.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml
index 0c216232f..9bea62ee3 100644
--- a/chapter05/gawk-inst.xml
+++ b/chapter05/gawk-inst.xml
@@ -13,7 +13,8 @@ sed -e '/^datadir/s/awk/gawk/' \
-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in &&
cd .. &&
export CPPFLAGS=-Dre_max_failures=re_max_failures2 &&
-./configure --prefix=$LFS/usr --disable-nls &&
+./configure --prefix=$LFS/usr --disable-nls \
+ --libexecdir=$LFS/usr/bin &&
unset CPPFLAGS &&
make LDFLAGS=-static &&
make install</userinput></screen></para>
@@ -26,7 +27,8 @@ cp Makefile.in Makefile.in.backup &amp;&amp;
sed -e '/^datadir/s/awk/gawk/' \
-e '/^libexecdir/s%/awk%%' Makefile.in.backup &gt; Makefile.in &amp;&amp;
cd .. &amp;&amp;
-./configure --prefix=$LFS/usr --disable-nls &amp;&amp;
+./configure --prefix=$LFS/usr --disable-nls \
+ --libexecdir=$LFS/usr/bin &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>