LZO, short for Lempel-Ziv-Oberhumer, is compression software that is designed for decompression speed. I compiled the LZO library like this.
tar xzvf lzo-2.03.tar.gz
cd lzo-2.03/
./configure --prefix=/mingw
make
make install
I only got a static library liblzo2.a. So I had to convert it to a DLL.
gcc -shared -o liblzo2-2.dll -Wl,--out-implib,liblzo2.dll.a -Wl,--whole-archive /mingw/lib/liblzo2.a -Wl,--no-whole-archive -L/mingw/lib -lwinmm
No comments:
Post a Comment