Commit b31fae17 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

component/file: support zstd compression

Previously, zstd support was only compiled if zstlib was installed in
the system.
parent cd173ae3
...@@ -7,6 +7,7 @@ extends = ...@@ -7,6 +7,7 @@ extends =
../bzip2/buildout.cfg ../bzip2/buildout.cfg
../xz-utils/buildout.cfg ../xz-utils/buildout.cfg
../zlib/buildout.cfg ../zlib/buildout.cfg
../zstd/buildout.cfg
[file] [file]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
...@@ -19,6 +20,7 @@ configure-options = ...@@ -19,6 +20,7 @@ configure-options =
--enable-zlib --enable-zlib
--enable-bzlib --enable-bzlib
--enable-xzlib --enable-xzlib
--enable-zstdlib
environment = environment =
CPPFLAGS=-I${bzip2:location}/include -I${xz-utils:location}/include -I${zlib:location}/include CPPFLAGS=-I${bzip2:location}/include -I${xz-utils:location}/include -I${zlib:location}/include -I${zstd:location}/include
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${xz-utils:location}/lib -Wl,-rpath=${xz-utils:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${xz-utils:location}/lib -Wl,-rpath=${xz-utils:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${zstd:location}/lib -Wl,-rpath=${zstd:location}/lib
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment