diff options
author | Grant Limberg <grant.limberg@zerotier.com> | 2018-02-16 15:08:04 -0800 |
---|---|---|
committer | Grant Limberg <grant.limberg@zerotier.com> | 2018-02-16 15:08:04 -0800 |
commit | bdb2cc7c859b3c27a38f23f00f00f62eba30e577 (patch) | |
tree | 7178a369d8139c1adac7a26cdc3f944cd6ca8877 | |
parent | 381857ea492a04930eab12591e5618c951c7ba32 (diff) | |
download | infinitytier-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.mk | 5 |
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) |