]> git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/pk3man/zlib/README.linux
* added pk3man and fixed it to compile for latest radiant
[xonotic/netradiant.git] / contrib / pk3man / zlib / README.linux
1 Precompiled stuff for zip/unzip on linux is in libz-zip.a
2 Based on zlib + minizip package
3 The zip.c and unzip.c files will not build out of the box on linux
4 they are only relevant to the windows version
5
6 How to rebuild libz-zip.a:
7 download zlib from: http://www.info-zip.org/pub/infozip/zlib/zlib.html
8 patch the contrib/minizip code with http://www.winimage.com/zLibDll/unzip.html
9   (I had to replace zip.c by a newer one)
10 build everything, zlib.a zip.o and unzip.o
11
12 ar -rs libz.a zip.o unzip.o
13 mv libz.a libz-zip.a