Linux: link system libcurl when compiling with ZT_VAULT_SUPPORT=1

Requires libcurl and development headers to be installed
This commit is contained in:
Grant Limberg 2018-02-16 15:08:04 -08:00
parent 381857ea49
commit bdb2cc7c85

View File

@ -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)