mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
- Update bunlded libarchive version used on Windows/Mac - Enable requested zstd support while we are at it. Closes #211
22 lines
433 B
Text
22 lines
433 B
Text
cxx_library(
|
|
name='zlib_wrapper',
|
|
visibility=['PUBLIC'],
|
|
exported_linker_flags=['-lz'],
|
|
header_namespace='',
|
|
exported_headers=['zstd_zlibwrapper.h'],
|
|
headers=[
|
|
'gzcompatibility.h',
|
|
'gzguts.h',
|
|
],
|
|
srcs=glob(['*.c']),
|
|
deps=[
|
|
'//lib:zstd',
|
|
'//lib:zstd_common',
|
|
],
|
|
)
|
|
|
|
cxx_binary(
|
|
name='minigzip',
|
|
srcs=['examples/minigzip.c'],
|
|
deps=[':zlib_wrapper'],
|
|
)
|