]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fix zstd-dll build missing dependencies (#3496)
authorYonatan Komornik <11005061+yoniko@users.noreply.github.com>
Sun, 12 Feb 2023 20:32:31 +0000 (12:32 -0800)
committerGitHub <noreply@github.com>
Sun, 12 Feb 2023 20:32:31 +0000 (12:32 -0800)
commitc78f434aa4f5f1097c8edb975f4c1635817a5a71
tree8f97e7f2907e8893080a9409cb3fc488755f3149
parenta7de1d9f4954a1a7f8b15ecc1eff6a249dd9b4f6
Fix zstd-dll build missing dependencies (#3496)

* Fixes zstd-dll build (https://github.com/facebook/zstd/issues/3492):
- Adds pool.o and threading.o dependency to the zstd-dll target
- Moves custom allocation functions into header to avoid needing to add dependency on common.o
- Adds test target for zstd-dll
- Adds github workflow that buildis zstd-dll
13 files changed:
.github/workflows/dev-short-tests.yml
contrib/linux-kernel/zstd_common_module.c
lib/common/allocations.h [new file with mode: 0644]
lib/common/pool.c
lib/common/zstd_common.c
lib/common/zstd_internal.h
lib/compress/zstd_compress.c
lib/compress/zstd_cwksp.h
lib/compress/zstdmt_compress.c
lib/decompress/zstd_ddict.c
lib/decompress/zstd_decompress.c
programs/Makefile
tests/Makefile