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 @@ Installation of Zlib + First, fix a type in the package header file: + +sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h + Prepare Zlib for compilation: CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr