Disable UserAuth in main.mk if we are not on OpenBSD or Linux

Fixes osx build after updates to userauth
pull/48/head
Soner Tari 4 years ago
parent 80d10a94c3
commit 4c94853fc5

@ -81,6 +81,14 @@
# Doing so will remove the dependency on sqlite.
#FEATURES+= -DWITHOUT_USERAUTH
# UserAuth feature is supported on OpenBSD and Linux only
ifneq ($(filter -DWITHOUT_USERAUTH,$(FEATURES)),-DWITHOUT_USERAUTH)
ifneq ($(shell uname),OpenBSD)
ifneq ($(shell uname),Linux)
FEATURES+= -DWITHOUT_USERAUTH
endif
endif
endif
### Debugging

Loading…
Cancel
Save