summaryrefslogtreecommitdiff
path: root/make-linux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make-linux.mk')
-rw-r--r--make-linux.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/make-linux.mk b/make-linux.mk
index d91284db..67a63a7b 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -7,8 +7,8 @@ DEFS=
LIBS=
include objects.mk
-OBJS+=osnet/LinuxRoutingTable.o osnet/LinuxEthernetTap.o osnet/LinuxEthernetTapFactory.o
-TESTNET_OBJS=testnet/SimNet.o testnet/SimNetSocketManager.o testnet/TestEthernetTap.o testnet/TestEthernetTapFactory.o testnet/TestRoutingTable.o
+OBJS+=osnet/LinuxRoutingTable.o osnet/LinuxEthernetTap.o osnet/LinuxEthernetTapFactory.o
+TESTNET_OBJS=testnet/SimNet.o testnet/SimNetSocketManager.o testnet/TestEthernetTap.o testnet/TestEthernetTapFactory.o testnet/TestRoutingTable.o
# Enable SSE-optimized Salsa20 on x86 and x86_64 machines
MACHINE=$(shell uname -m)
@@ -34,7 +34,8 @@ endif
# Build with ZT_ENABLE_NETCONF_MASTER=1 to build with NetworkConfigMaster enabled
ifeq ($(ZT_ENABLE_NETCONF_MASTER),1)
DEFS+=-DZT_ENABLE_NETCONF_MASTER
- LIBS+=-lhiredis
+ LIBS+=-lsqlite3
+ OBJS+=netconf/SqliteNetworkConfigMaster.o
endif
# "make official" is a shortcut for this