mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-28 01:47:20 +00:00
fix: Makefile OS conditional
This commit is contained in:
@@ -65,9 +65,9 @@ IMAGE:=$(REGISTRY)/node-problem-detector:$(TAG)
|
||||
# support needs libsystemd-dev or libsystemd-journal-dev.
|
||||
ENABLE_JOURNALD?=1
|
||||
|
||||
ifeq ($(go env GOHOSTOS), darwin)
|
||||
ifeq ($(shell go env GOHOSTOS), darwin)
|
||||
ENABLE_JOURNALD=0
|
||||
else ifeq ($(go env GOHOSTOS), windows)
|
||||
else ifeq ($(shell go env GOHOSTOS), windows)
|
||||
ENABLE_JOURNALD=0
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user