]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Only Trigger libzstd.pc Build on Unix-Like Platforms 2116/head
authorW. Felix Handte <w@felixhandte.com>
Fri, 8 May 2020 20:01:26 +0000 (16:01 -0400)
committerW. Felix Handte <w@felixhandte.com>
Fri, 8 May 2020 20:11:32 +0000 (16:11 -0400)
We don't even define the rule on unsupported platforms.

lib/Makefile

index 0a01ffc6fe660950edab90a45923c8d04514973e..7c6dff02468ad8a9ace0306f678277d9b98f8b5d 100644 (file)
@@ -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