facebook / facebook/zstd

Provide zlibWrapper as a shared library

Open
#4,277 3 comments 1 reaction 1 assignee Claimed by @Cyan4973 View on GitHub
Dominant language
C
Stars
27.9k
Forks
2.6k
Avg merge
1d 3h
Merged PRs (30d)
8

Description

**Is your feature request related to a problem? Please describe.**
Currently, making use of the zlibWrapper requires a project copying a few (5) source files from this project, and building those files as part of their build. It would be simpler to simply link to a `zlib-wrapper.so` library provided by zstd.

**Describe the solution you'd like**
The build system of zstd would be extended with a target to build zlib-wrapper as a (shared) library and register it so it gets installed as part of the regular install phase.

**Describe alternatives you've considered**
None.

**Additional context**
This came up while proposing to contribute zstd-decompression support (via zlibWrapper) to mandoc (see: https://inbox.vuxu.org/mandoc-discuss/Z5i0H+XrKVrZqAXB@asta-kit.de/).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.