Skip to content

Commit 439445d

Browse files
committed
[ci] build error after new tests
1 parent 09cb2c2 commit 439445d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

python/setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,14 @@ def _exists(relpath):
190190
include_dirs.append(blosc2_inc)
191191
include_dirs.append(blosc2_dir)
192192

193+
# tell blosc2 which codecs are available
194+
# blosc2zlib needs zlib API — miniz provides this even when NO_ZLIB is set
195+
define_macros.append(("HAVE_ZLIB", "1"))
196+
if use_zstd:
197+
define_macros.append(("HAVE_ZSTD", "1"))
198+
if use_lz4:
199+
define_macros.append(("HAVE_LZ4", "1"))
200+
193201
blosc2_srcs = [
194202
"blosc2.c",
195203
"blosc2-stdio.c",

0 commit comments

Comments
 (0)