From 0d9018b23cfd7eeb3d0bf187b38206af65eada5a Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Thu, 18 Mar 2010 19:56:39 +0000 Subject: Upgrade to Zlib-1.2.4. Fixes #2606. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9229 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/zlib.xml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'chapter06') diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index c3c00730c..45edfe1ca 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -41,18 +41,9 @@ Installation of Zlib - - Zlib is known to build its shared library incorrectly if - CFLAGS is specified in the environment. If using - a specified CFLAGS variable, be sure to add the - -fPIC directive to the CFLAGS - variable for the duration of the configure command below, then - remove it when building the static library. - - Prepare Zlib for building the dynamic library: -./configure --prefix=/usr --shared --libdir=/lib +./configure --prefix=/usr --libdir=/lib Compile the package: @@ -74,24 +65,6 @@ rm -v /lib/libz.so ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so - Build the static library: - -make clean -./configure --prefix=/usr -make - - To test the results again, issue: - -make check - - Install the static library: - -make install - - Fix the permissions on the static library: - -chmod -v 644 /usr/lib/libz.a - -- cgit v1.2.3-54-g00ecf