summaryrefslogtreecommitdiff
path: root/make-mac.mk
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-16 16:22:41 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-16 16:22:41 -0800
commit906e49ff7200f15d99d0bd2f9d87f484738929b0 (patch)
tree49165baad348de39e1a901962d1db3ed7adc7c19 /make-mac.mk
parente4d1aba3f82c1265579b0b9dfba22903e34ae7d1 (diff)
downloadinfinitytier-906e49ff7200f15d99d0bd2f9d87f484738929b0.tar.gz
infinitytier-906e49ff7200f15d99d0bd2f9d87f484738929b0.zip
Add make option ZT_ENABLE_CLUSTER and disable it in default Linux build.
Diffstat (limited to 'make-mac.mk')
-rw-r--r--make-mac.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-mac.mk b/make-mac.mk
index 174216fb..6ea23859 100644
--- a/make-mac.mk
+++ b/make-mac.mk
@@ -32,6 +32,11 @@ ifeq ($(ZT_OFFICIAL_RELEASE),1)
CODESIGN_INSTALLER_CERT="Developer ID Installer: ZeroTier Networks LLC (8ZD9JUCZ4V)"
endif
+# Build with ZT_ENABLE_CLUSTER=1 to build with cluster support
+ifeq ($(ZT_ENABLE_CLUSTER),1)
+ DEFS+=-DZT_ENABLE_CLUSTER
+endif
+
ifeq ($(ZT_AUTO_UPDATE),1)
DEFS+=-DZT_AUTO_UPDATE
endif