Only Trigger libzstd.pc Build on Unix-Like Platforms
We don't even define the rule on unsupported platforms.
This commit is contained in:
+3
-1
@@ -187,7 +187,7 @@ default: lib-release
|
|||||||
# alias
|
# alias
|
||||||
lib-all: all
|
lib-all: all
|
||||||
|
|
||||||
all: lib libzstd.pc
|
all: lib
|
||||||
|
|
||||||
libzstd.a: ARFLAGS = rcs
|
libzstd.a: ARFLAGS = rcs
|
||||||
libzstd.a: $(ZSTD_OBJ)
|
libzstd.a: $(ZSTD_OBJ)
|
||||||
@@ -253,6 +253,8 @@ clean:
|
|||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
|
ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
|
||||||
|
|
||||||
|
all: libzstd.pc
|
||||||
|
|
||||||
DESTDIR ?=
|
DESTDIR ?=
|
||||||
# directory variables : GNU conventions prefer lowercase
|
# directory variables : GNU conventions prefer lowercase
|
||||||
# see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html
|
# see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html
|
||||||
|
|||||||
Reference in New Issue
Block a user