Skip to content

Commit

Permalink
Merge pull request #763 from btiernay/issue-752-fix-macos-makefile-error
Browse files Browse the repository at this point in the history
fix: Makefile OS conditional
  • Loading branch information
k8s-ci-robot authored Jun 16, 2023
2 parents f116c92 + c27b4be commit 339e243
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ junit*.xml
debug.test
/output/
coverage.out
.idea/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 339e243

Please sign in to comment.