aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/libelf.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/libelf.xml')
-rw-r--r--chapter06/libelf.xml15
1 files changed, 5 insertions, 10 deletions
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 @@
]>
<sect1 id="ch-system-libelf" role="wrap">
- <?dbhtml filename="elfutils.html"?>
+ <?dbhtml filename="libelf.html"?>
<sect1info condition="script">
- <productname>elfutils</productname>
+ <productname>libelf</productname>
<productnumber>&elfutils-version;</productnumber>
<address>&elfutils-url;</address>
</sect1info>
@@ -54,15 +54,10 @@
<para>To test the results, issue <command>make check</command>.</para>
- <para>Install the needed libraries:</para>
+ <para>Install only Libelf:</para>
-<screen><userinput remap="install">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</userinput></screen>
+<screen><userinput remap="install">make -C libelf install
+install -vm644 config/libelf.pc /usr/lib/pkgconfig</userinput></screen>
</sect2>