aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/util-linux.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/util-linux.xml')
-rw-r--r--chapter07/util-linux.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter07/util-linux.xml b/chapter07/util-linux.xml
index 2c81aaece..8295d0d8e 100644
--- a/chapter07/util-linux.xml
+++ b/chapter07/util-linux.xml
@@ -52,6 +52,7 @@
<para>Prepare Util-linux for compilation:</para>
<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+ --libdir=/usr/lib \
--docdir=/usr/share/doc/util-linux-&util-linux-version; \
--disable-chfn-chsh \
--disable-login \
@@ -79,6 +80,16 @@
</varlistentry>
<varlistentry>
+ <term><parameter>--libdir=/usr/lib</parameter></term>
+ <listitem>
+ <para>This switch ensures the
+ <filename class="extension">.so</filename> symlinks targeting
+ the shared library file in the same directory
+ (<filename class="directory">/usr/lib</filename>) directly.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--disable-*</parameter></term>
<listitem>
<para>These switches prevent warnings about building components