From: W. Felix Handte Date: Fri, 8 May 2020 20:01:26 +0000 (-0400) Subject: Only Trigger libzstd.pc Build on Unix-Like Platforms X-Git-Tag: v1.4.5^2~29^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2116%2Fhead;p=thirdparty%2Fzstd.git Only Trigger libzstd.pc Build on Unix-Like Platforms We don't even define the rule on unsupported platforms. --- 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