mirror of
https://github.com/facebook/zstd.git
synced 2025-10-04 00:02:33 -04:00
Only Trigger libzstd.pc Build on Unix-Like Platforms
We don't even define the rule on unsupported platforms.
This commit is contained in:
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…
x
Reference in New Issue
Block a user