tools: zstd: add patch fixing wrong generated .pc with lib-mt
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Apr 2024 12:58:48 +0000 (14:58 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Apr 2024 12:58:48 +0000 (14:58 +0200)
commitf2fabf7aaaacec6fdc50226f57f4be2c19d8cace
treebbfb0c4ebe91c1dc846935b40060a7a08a1d34d6
parent0a0d89265ee474d0784f675d65685ed011cc30b3
tools: zstd: add patch fixing wrong generated .pc with lib-mt

The current .pc generated by make build system for zstd is wrong and
always assume a single-threaded library is used.

This wasn't the case for the meson build system that used his own logic
to generate the pkg-config file.

Add a patch to fix this by introducing install-mt-pc make target to
generate the correct pkg-config gile.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
tools/zstd/Makefile
tools/zstd/patches/100-Provide-variant-pkg-config-file-for-multi-threaded-s.patch [new file with mode: 0644]