r325 - x86/branches/6.1/packages/zlib

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun Jul 10 07:17:40 PDT 2005


Author: jhuntwork
Date: 2005-07-10 08:17:39 -0600 (Sun, 10 Jul 2005)
New Revision: 325

Modified:
   x86/branches/6.1/packages/zlib/Makefile
Log:
Updated commands in zlib to match 6.1 book - build shared first, then static

Modified: x86/branches/6.1/packages/zlib/Makefile
===================================================================
--- x86/branches/6.1/packages/zlib/Makefile	2005-07-10 02:46:24 UTC (rev 324)
+++ x86/branches/6.1/packages/zlib/Makefile	2005-07-10 14:17:39 UTC (rev 325)
@@ -27,10 +27,10 @@
 	@if [ ! -f /usr/lib/libz.so ] ; then unpack $(SRC)/$(FILE) && \
 	 cd $(DIR) && patch -Np1 -i $(SRC)/$(PATCH1) && \
 	 ./configure --prefix=/usr --shared --libdir=/lib && \
-	 make -j3 && make install && make clean && ./configure --prefix=/usr && \
-	 make -j3 && make install && chmod 644 /usr/lib/libz.a && \
-	 mv /usr/lib/libz.so.* /lib && \
-	 ln -sf ../../lib/libz.so.1 /usr/lib/libz.so ; fi
+	 make -j3 && make install && \
+	 rm /lib/libz.so && ln -sf ../../lib/libz.so.1.2.2 /usr/lib/libz.so && \
+	 make clean && ./configure --prefix=/usr && \
+	 make -j3 && make install && chmod 644 /usr/lib/libz.a ; fi
 	@make clean
 	 
 




More information about the livecd mailing list