aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2003-09-03 20:24:31 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2003-09-03 20:24:31 +0000
commite991f768a2feb03d5c3c41bb5ef46c9b17691281 (patch)
tree75694ab5a947c326d6f7a4a83c8f03ffcb8f4bb4 /chapter05
parentc058597b331d798a6f998a825de8b45a8284d496 (diff)
Fix util-linux utilising /stage1 headers and libs instead of the host's version.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2729 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/utillinux-inst.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml
index 2f7bf29c2..ce08d0ff2 100644
--- a/chapter05/utillinux-inst.xml
+++ b/chapter05/utillinux-inst.xml
@@ -3,6 +3,12 @@
<sect2>
<title>Installation of Util-linux</title>
+<para>Util-linux doesn't use the freshly installed headers and libraries from
+the /stage1 directory. This is fixed by altering the configure script:</para>
+
+<para><screen><userinput>cp configure configure.backup
+sed "s@/usr/include@/stage1/include@g" configure.backup > configure</userinput> </screen></para>
+
<para>Prepare Util-linux for compilation:</para>
<para><screen><userinput>./configure</userinput></screen></para>