aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/libelf.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-07-07 15:22:39 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-07-07 15:22:39 +0000
commit101304fa9e1025a0c053532dd33b880442725529 (patch)
tree7ea35cdc4ec1e4168f43b7a936f302140799961a /chapter08/libelf.xml
parent3ed6a2d3bab98f4574ef7d18dc1b3ed0caed7ee2 (diff)
Install libelf into /lib, since it may be needed before /usr is mounted
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11996 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/libelf.xml')
-rw-r--r--chapter08/libelf.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter08/libelf.xml b/chapter08/libelf.xml
index 2ecf7fc58..bda3414cb 100644
--- a/chapter08/libelf.xml
+++ b/chapter08/libelf.xml
@@ -46,7 +46,7 @@
<para>Prepare Libelf for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --disable-debuginfod</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --disable-debuginfod --libdir=/lib</userinput></screen>
<para>Compile the package:</para>
@@ -62,7 +62,7 @@
<screen><userinput remap="install">make -C libelf install
install -vm644 config/libelf.pc /usr/lib/pkgconfig
-rm /usr/lib/libelf.a</userinput></screen>
+rm /lib/libelf.a</userinput></screen>
</sect2>