浏览代码

Disable pkg-config lookups in the Chapter 5 check program that
may cause unwanted host system libraries to be linked into check.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10369 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 11 年之前
父节点
当前提交
2027144431
共有 3 个文件被更改,包括 28 次插入3 次删除
  1. 11 0
      chapter01/changelog.xml
  2. 15 1
      chapter05/check.xml
  3. 2 2
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -35,6 +35,17 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>2013-11-04</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Disable pkg-config lookups in the 
+          Chapter 5 check program that may cause unwanted 
+          host system libraries to be linked into check.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2013-10-21</para>
       <itemizedlist>

+ 15 - 1
chapter05/check.xml

@@ -42,7 +42,21 @@
 
     <para>Prepare Check for compilation:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">PKG_CONFIG= ./configure --prefix=/tools</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the configure parameter:</title>
+
+      <varlistentry>
+        <term><parameter>PKG_CONFIG=</parameter></term>
+        <listitem>
+          <para>This tells the configure script to ignore any
+          pkg-config options that may cause the system to try to link
+          with libraries not in the <filename class="directory">/tools</filename>
+          directory.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
 
     <para>Build the package:</para>
 

+ 2 - 2
general.ent

@@ -1,5 +1,5 @@
-<!ENTITY version         "SVN-20131021">
-<!ENTITY releasedate     "October 21, 2013">
+<!ENTITY version         "SVN-20131104">
+<!ENTITY releasedate     "November 4, 2013">
 <!ENTITY copyrightdate   "1999-2013"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "7.5">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->