diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/ncurses.xml | 3 | ||||
-rw-r--r-- | chapter05/util-linux.xml | 15 |
2 files changed, 13 insertions, 5 deletions
diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml index 2db0a770c..a18a9c819 100644 --- a/chapter05/ncurses.xml +++ b/chapter05/ncurses.xml @@ -45,8 +45,7 @@ <para>Prepare Ncurses for compilation:</para> -<screen><userinput remap="configure"> -./configure --prefix=/tools \ +<screen><userinput remap="configure">./configure --prefix=/tools \ --with-shared \ --without-debug \ --without-ada \ diff --git a/chapter05/util-linux.xml b/chapter05/util-linux.xml index 8407f802c..7156895c2 100644 --- a/chapter05/util-linux.xml +++ b/chapter05/util-linux.xml @@ -42,9 +42,10 @@ <para>Prepare Util-linux for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/tools \ - --disable-makeinstall-chown \ - --without-systemdsystemunitdir</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/tools \ + --disable-makeinstall-chown \ + --without-systemdsystemunitdir \ + PKG_CONFIG=""</userinput></screen> <variablelist> <title>The meaning of the configure option:</title> @@ -67,6 +68,14 @@ This switch disables the unnecessary action.</para> </listitem> </varlistentry> + + <varlistentry> + <term><envar>PKG_CONFIG=""</envar></term> + <listitem> + <para>Setting this envronment variable prevents adding unneeded + features that may be available on the host.</para> + </listitem> + </varlistentry> </variablelist> <para>Compile the package:</para> |