Allow to build zlib and lzma statically
This should fix issues on Darwin.
This commit is contained in:
8
3rdparty/zlib/examples/gzip.hs
vendored
Normal file
8
3rdparty/zlib/examples/gzip.hs
vendored
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user