From a98a31a0c92e78532e7b9b9f353b7a2723801a42 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Sat, 13 Jan 2018 05:43:45 +0000 Subject: Simplify and correct Libelf installation. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11351 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/libelf.xml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'chapter06') diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml index 2b231198c..56ec31d96 100644 --- a/chapter06/libelf.xml +++ b/chapter06/libelf.xml @@ -6,10 +6,10 @@ ]> - + - elfutils + libelf &elfutils-version;
&elfutils-url;
@@ -54,15 +54,10 @@ To test the results, issue make check. - Install the needed libraries: + Install only Libelf: -install -vm755 libelf/libelf.so /usr/lib/libelf-0.170.so -install -vm644 config/libelf.pc /usr/lib/pkgconfig -install -vm644 libelf/libelf.h /usr/include -install -vm644 libelf/gelf.h /usr/include -install -vm644 libelf/nlist.h /usr/include -ln -sf libelf-0.170.so /usr/lib/libelf-1.so -ln -sf libelf-0.170.so /usr/lib/libelf.so +make -C libelf install +install -vm644 config/libelf.pc /usr/lib/pkgconfig -- cgit v1.2.3-54-g00ecf