mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-02-14 18:09:57 +00:00
Merge pull request #763 from btiernay/issue-752-fix-macos-makefile-error
fix: Makefile OS conditional
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,3 +7,4 @@ junit*.xml
|
||||
debug.test
|
||||
/output/
|
||||
coverage.out
|
||||
.idea/
|
||||
|
||||
4
Makefile
4
Makefile
@@ -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