xref: /freebsd/sys/contrib/zstd/zlibWrapper/BUCK (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1cxx_library(
2    name='zlib_wrapper',
3    visibility=['PUBLIC'],
4    exported_linker_flags=['-lz'],
5    header_namespace='',
6    exported_headers=['zstd_zlibwrapper.h'],
7    headers=[
8        'gzcompatibility.h',
9        'gzguts.h',
10    ],
11    srcs=glob(['*.c']),
12    deps=[
13        '//lib:zstd',
14        '//lib:zstd_common',
15    ],
16)
17
18cxx_binary(
19    name='minigzip',
20    srcs=['examples/minigzip.c'],
21    deps=[':zlib_wrapper'],
22)
23