mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-05 02:36:45 +00:00
force LMDB if RONLY
This commit is contained in:
8
Makefile
8
Makefile
@@ -31,6 +31,11 @@ ifeq ($(WITH_KILL),yes)
|
||||
CFLAGS += -DWITH_KILL=1
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_RONLY),yes)
|
||||
CFLAGS += -DWITH_RONLY=1
|
||||
WITH_LMDB = yes
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_LMDB),yes)
|
||||
CFLAGS += -DWITH_LMDB=1 -Imdb/
|
||||
OTR_OBJS += gcache.o
|
||||
@@ -53,9 +58,6 @@ ifneq ($(APIKEY),)
|
||||
CFLAGS += -DAPIKEY="\"$(APIKEY)\""
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_RONLY),yes)
|
||||
CFLAGS += -DWITH_RONLY=1
|
||||
endif
|
||||
|
||||
CFLAGS += -DSTORAGEDEFAULT=\"$(STORAGEDEFAULT)\" -DDOCROOT=\"$(DOCROOT)\"
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ WITH_PING ?= yes
|
||||
WITH_KILL ?= no
|
||||
|
||||
# Do you want R_only support? (Probably not; this is for Hosted)
|
||||
# If you set this to `yes', WITH_LMDB will be set to yes
|
||||
WITH_RONLY ?= no
|
||||
|
||||
# Where should the recorder store its data? This directory must
|
||||
|
||||
Reference in New Issue
Block a user