Allow to build zlib and lzma statically

This should fix issues on Darwin.
This commit is contained in:
2020-05-08 20:13:10 +02:00
parent 378942cbce
commit bf6e94cfb2
227 changed files with 46996 additions and 3 deletions

8
3rdparty/zlib/examples/gzip.hs vendored Normal file
View File

@@ -0,0 +1,8 @@
module Main where
import qualified Data.ByteString.Lazy as B
import qualified Codec.Compression.GZip as GZip
main = B.interact $ GZip.compressWith GZip.defaultCompressParams {
GZip.compressLevel = GZip.BestCompression
}