浏览代码

Linux: link system libcurl when compiling with ZT_VAULT_SUPPORT=1

Requires libcurl and development headers to be installed
Grant Limberg 7 年之前
父节点
当前提交
bdb2cc7c85
共有 1 个文件被更改,包括 5 次插入0 次删除
  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)