aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/zlib-inst.xml3
1 files changed, 2 insertions, 1 deletions
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;