From f353a63bad19768a4aa5953bdb21346c41d41c3c Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Mon, 6 Jan 2003 16:04:14 +0000 Subject: Added CFLAGS to zlib defining -fPIC git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2284 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/zlib-inst.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chapter06') diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml index 6c25a715c..de778d548 100644 --- a/chapter06/zlib-inst.xml +++ b/chapter06/zlib-inst.xml @@ -3,7 +3,8 @@ Install Zlib by running the following commands: -./configure --prefix=/usr --shared && +CFLAGS="$CFLAGS -fPIC" \ +./configure --prefix=/usr --shared && make LIBS="libz.so.1.1.4 libz.a" && make LIBS="libz.so.1.1.4 libz.a" install && mv /usr/lib/libz.so.* /lib && -- cgit v1.2.3-54-g00ecf