From 87c541c5f969b6f62159318ffd20fac5eae154f8 Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Fri, 8 May 2020 16:01:26 -0400 Subject: [PATCH] Only Trigger libzstd.pc Build on Unix-Like Platforms We don't even define the rule on unsupported platforms. --- lib/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 0a01ffc6f..7c6dff024 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -187,7 +187,7 @@ default: lib-release # alias lib-all: all -all: lib libzstd.pc +all: lib libzstd.a: ARFLAGS = rcs libzstd.a: $(ZSTD_OBJ) @@ -253,6 +253,8 @@ clean: #----------------------------------------------------------------------------- ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku)) +all: libzstd.pc + DESTDIR ?= # directory variables : GNU conventions prefer lowercase # see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html -- 2.47.2