Skip to content

Commit 5ceb705

Browse files
committed
Simplify platform check in main.mk for UserAuth feature
1 parent 1916a6f commit 5ceb705

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Mk/main.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,10 @@
8383

8484
# UserAuth feature is supported on OpenBSD and Linux only
8585
ifneq ($(filter -DWITHOUT_USERAUTH,$(FEATURES)),-DWITHOUT_USERAUTH)
86-
ifneq ($(shell uname),OpenBSD)
87-
ifneq ($(shell uname),Linux)
86+
ifeq ($(filter $(shell uname),OpenBSD Linux),)
8887
FEATURES+= -DWITHOUT_USERAUTH
8988
endif
9089
endif
91-
endif
9290

9391
### Debugging
9492

0 commit comments

Comments
 (0)