|
@@ -3,11 +3,9 @@
|
|
|
<sect2>
|
|
|
<title>Installation of Zlib</title>
|
|
|
|
|
|
-<para><screen><userinput>patch -Np1 -i ../zlib-&zlib-version;-final-vsnprintf.patch</userinput></screen></para>
|
|
|
-
|
|
|
<para>Prepare Zlib to be compiled:</para>
|
|
|
|
|
|
-<para><screen><userinput>CFLAGS="-O2 -pipe" CPPFLAGS="-DHAS_vsnprintf" \
|
|
|
+<para><screen><userinput>CFLAGS="-O2 -pipe" \
|
|
|
./configure --prefix=/stage1 --shared</userinput></screen></para>
|
|
|
|
|
|
<para>The <emphasis>-fPIC</emphasis> flag helps to assure
|
|
@@ -17,7 +15,7 @@ quality in the dynamic zlib library.</para>
|
|
|
on the system. To satisfy those programs, compile both the
|
|
|
shared and static libraries:</para>
|
|
|
|
|
|
-<para><screen><userinput>make LDFLAGS="-s"
|
|
|
+<para><screen><userinput>make
|
|
|
make test</userinput></screen></para>
|
|
|
|
|
|
<para>Install the libraries:</para>
|