aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/zlib.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml
index e4a419a5d..e0e6df760 100644
--- a/chapter06/zlib.xml
+++ b/chapter06/zlib.xml
@@ -41,6 +41,10 @@
<sect2 role="installation">
<title>Installation of Zlib</title>
+ <para>First, fix a type in the package header file:</para>
+
+<screen><userinput remap="pre">sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h</userinput></screen>
+
<para>Prepare Zlib for compilation:</para>
<screen><userinput remap="configure">CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr</userinput></screen>