aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter06/zlib-inst.xml3
-rw-r--r--index.xml4
3 files changed, 8 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index c5a0ff653..70b35d508 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -57,6 +57,10 @@
</itemizedlist>
</para></listitem>
+<listitem><para>January 6th, 2003 [gerard]: Chapter 06 - Zlib: Added CFLAGS
+variable to define -fPIC so the dynamic library gets compiled properly at
+all times.</para></listitem>
+
<listitem><para>January 5th, 2003 [timothy]: Chapter 05 - Applied Alex's
patch to split the <emphasis>Install all software as an unprivileged
user</emphasis> page into two pages: <emphasis>Adding the user lfs</emphasis>
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml
index 6c25a715c..de778d548 100644
--- a/chapter06/zlib-inst.xml
+++ b/chapter06/zlib-inst.xml
@@ -3,7 +3,8 @@
<para>Install Zlib by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --shared &amp;&amp;
+<para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \
+./configure --prefix=/usr --shared &amp;&amp;
make LIBS="libz.so.1.1.4 libz.a" &amp;&amp;
make LIBS="libz.so.1.1.4 libz.a" install &amp;&amp;
mv /usr/lib/libz.so.* /lib &amp;&amp;
diff --git a/index.xml b/index.xml
index 70b7bcf26..1f9ae4a6a 100644
--- a/index.xml
+++ b/index.xml
@@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml">
-<!ENTITY version "20030105">
-<!ENTITY releasedate "January 5th, 2003">
+<!ENTITY version "20030106">
+<!ENTITY releasedate "January 6th, 2003">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org">