mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-20 08:03:53 +00:00
Linux: link system libcurl when compiling with ZT_VAULT_SUPPORT=1
Requires libcurl and development headers to be installed
This commit is contained in:
@ -88,6 +88,11 @@ ifeq ($(ZT_USE_TEST_TAP),1)
|
|||||||
override DEFS+=-DZT_USE_TEST_TAP
|
override DEFS+=-DZT_USE_TEST_TAP
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ZT_VAULT_SUPPORT),1)
|
||||||
|
override DEFS+=-DZT_VAULT_SUPPORT=1
|
||||||
|
override LDLIBS+=-lcurl
|
||||||
|
endif
|
||||||
|
|
||||||
# Uncomment for gprof profile build
|
# Uncomment for gprof profile build
|
||||||
#CFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)
|
#CFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)
|
||||||
#CXXFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)
|
#CXXFLAGS=-Wall -g -pg -pthread $(INCLUDES) $(DEFS)
|
||||||
|
Reference in New Issue
Block a user