diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-01-06 16:04:14 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-01-06 16:04:14 +0000 |
commit | f353a63bad19768a4aa5953bdb21346c41d41c3c (patch) | |
tree | f73f70540e8c45c2febe87b4053f822b7bdc2440 /chapter06 | |
parent | 5e40325fc2ddf3e60af6d47cb434e26099aebce6 (diff) |
Added CFLAGS to zlib defining -fPIC
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2284 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/zlib-inst.xml | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ <para>Install Zlib by running the following commands:</para> -<para><screen><userinput>./configure --prefix=/usr --shared && +<para><screen><userinput>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 && |