From 8ad94ab722857c1be1a8357258a18ad2591b921e Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 27 Jan 2014 22:32:09 +0000 Subject: Add an environment variable to util-linux in Chapter 5 to prevent an installation error for hosts that have unneeded capabilities availible. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10452 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/util-linux.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'chapter05/util-linux.xml') 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 @@ Prepare Util-linux for compilation: -./configure --prefix=/tools \ - --disable-makeinstall-chown \ - --without-systemdsystemunitdir +./configure --prefix=/tools \ + --disable-makeinstall-chown \ + --without-systemdsystemunitdir \ + PKG_CONFIG="" The meaning of the configure option: @@ -67,6 +68,14 @@ This switch disables the unnecessary action. + + + PKG_CONFIG="" + + Setting this envronment variable prevents adding unneeded + features that may be available on the host. + + Compile the package: -- cgit v1.2.3-54-g00ecf