Only Trigger libzstd.pc Build on Unix-Like Platforms
We don't even define the rule on unsupported platforms.dev
parent
85801b99d7
commit
87c541c5f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue