mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
macOS: add libcurl to libraries when ZT_VAULT_SUPPORT=1 is specified on the make command line
This commit is contained in:
parent
7793060723
commit
381857ea49
1 changed files with 6 additions and 1 deletions
|
@ -63,6 +63,11 @@ ifeq ($(ZT_TRACE),1)
|
||||||
DEFS+=-DZT_TRACE
|
DEFS+=-DZT_TRACE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ZT_VAULT_SUPPORT),1)
|
||||||
|
DEFS+=-DZT_VAULT_SUPPORT=1
|
||||||
|
LIBS+=-lcurl
|
||||||
|
endif
|
||||||
|
|
||||||
CXXFLAGS=$(CFLAGS) -std=c++11 -stdlib=libc++
|
CXXFLAGS=$(CFLAGS) -std=c++11 -stdlib=libc++
|
||||||
|
|
||||||
all: one macui
|
all: one macui
|
||||||
|
@ -70,7 +75,7 @@ all: one macui
|
||||||
ext/x64-salsa2012-asm/salsa2012.o:
|
ext/x64-salsa2012-asm/salsa2012.o:
|
||||||
$(CC) $(CFLAGS) -c ext/x64-salsa2012-asm/salsa2012.s -o ext/x64-salsa2012-asm/salsa2012.o
|
$(CC) $(CFLAGS) -c ext/x64-salsa2012-asm/salsa2012.s -o ext/x64-salsa2012-asm/salsa2012.o
|
||||||
|
|
||||||
one: $(CORE_OBJS) $(ONE_OBJS) one.o
|
one: $(CORE_OBJS) $(ONE_OBJS) one.o
|
||||||
$(CXX) $(CXXFLAGS) -o zerotier-one $(CORE_OBJS) $(ONE_OBJS) one.o $(LIBS)
|
$(CXX) $(CXXFLAGS) -o zerotier-one $(CORE_OBJS) $(ONE_OBJS) one.o $(LIBS)
|
||||||
$(STRIP) zerotier-one
|
$(STRIP) zerotier-one
|
||||||
ln -sf zerotier-one zerotier-idtool
|
ln -sf zerotier-one zerotier-idtool
|
||||||
|
|
Loading…
Add table
Reference in a new issue