Browse Source

Linux: link system libcurl when compiling with ZT_VAULT_SUPPORT=1

Requires libcurl and development headers to be installed
Grant Limberg 7 years ago
parent
commit
bdb2cc7c85
1 changed files with 5 additions and 0 deletions
  1. 5 0
      make-linux.mk

+ 5 - 0
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)