From f2fabf7aaaacec6fdc50226f57f4be2c19d8cace Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Sat, 6 Apr 2024 14:58:48 +0200 Subject: 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 --- tools/zstd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/zstd/Makefile') diff --git a/tools/zstd/Makefile b/tools/zstd/Makefile index 2bb055c93d..728cef26b8 100644 --- a/tools/zstd/Makefile +++ b/tools/zstd/Makefile @@ -34,7 +34,7 @@ define Host/Compile endef define Host/Install - +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/lib install-pc install-static install-includes PREFIX=$(HOST_BUILD_PREFIX) + +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/lib install-mt-pc install-static install-includes PREFIX=$(HOST_BUILD_PREFIX) +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/programs install PREFIX=$(HOST_BUILD_PREFIX) endef -- cgit v1.2.3