mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02: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:
parent
381857ea49
commit
bdb2cc7c85
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue