diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2018-01-13 05:43:45 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2018-01-13 05:43:45 +0000 |
commit | a98a31a0c92e78532e7b9b9f353b7a2723801a42 (patch) | |
tree | 3b9a49f7f9a6b1923ae982371d1f5c7f64b0ac3a /chapter06 | |
parent | e03d5e49af5d60eebff308f1da5293de45f05805 (diff) |
Simplify and correct Libelf installation.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11351 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/libelf.xml | 15 |
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> |