if [ -f ./xorg.build/lib/libcrypto.a ]; then
rm -f ./xorg.build/lib/libcrypto.a
fi
+if [ -f ./xorg.build/lib/libz.a ]; then
+ rm -f ./xorg.build/lib/libz.a
+fi
if [ "`uname -m`" = "x86_64" ]; then
ln -fs /usr/lib64/libcrypto.a ./xorg.build/lib
+ ln -fs /usr/lib64/libz.a ./xorg.build/lib
else
ln -fs /usr/lib/libcrypto.a ./xorg.build/lib
+ ln -fs /usr/lib/libz.a ./xorg.build/lib
fi
. build-xorg-7.4 $1 -static
popd
if [ -f ./xorg.build/lib/libcrypto.a ]; then
rm -f ./xorg.build/lib/libcrypto.a
fi
+if [ -f ./xorg.build/lib/libz.a ]; then
+ rm -f ./xorg.build/lib/libz.a
+fi
ln -fs /usr/lib/libcrypto.a ./xorg.build/lib
+ln -fs /usr/lib/libz.a ./xorg.build/lib
. build-xorg-7.4 $1 -static --host i686-pc-linux-gnu
popd
# Build VNC
echo "*** Building VNC ***"
cd ..
- VNCCFGFLAGS=
- if [ $STATIC = 1 ]; then
- VNCCFGFLAGS=--with-included-zlib
- fi
make distclean || true
- ./configure ${1+"$@"} ${VNCCFGFLAGS} --prefix=${PREFIX}
+ ./configure ${1+"$@"} --prefix=${PREFIX}
make
cd unix