summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2018-02-16 15:08:04 -0800
committerGrant Limberg <grant.limberg@zerotier.com>2018-02-16 15:08:04 -0800
commitbdb2cc7c859b3c27a38f23f00f00f62eba30e577 (patch)
tree7178a369d8139c1adac7a26cdc3f944cd6ca8877
parent381857ea492a04930eab12591e5618c951c7ba32 (diff)
downloadinfinitytier-bdb2cc7c859b3c27a38f23f00f00f62eba30e577.tar.gz
infinitytier-bdb2cc7c859b3c27a38f23f00f00f62eba30e577.zip
Linux: link system libcurl when compiling with ZT_VAULT_SUPPORT=1
Requires libcurl and development headers to be installed
-rw-r--r--make-linux.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 064a4608..8fa70e2f 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -88,6 +88,11 @@ ifeq ($(ZT_USE_TEST_TAP),1)
override DEFS+=-DZT_USE_TEST_TAP
endif
+ifeq ($(ZT_VAULT_SUPPORT),1)
+ override DEFS+=-DZT_VAULT_SUPPORT=1
+ override LDLIBS+=-lcurl
+endif
+
# Uncomment for gprof profile build
#CFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)
#CXXFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)