mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Adding lmdb storage implementation and necessary build options
This commit is contained in:
parent
262d22b903
commit
ef4e11f00a
3 changed files with 191 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -18,6 +18,7 @@ USE_AVX := yes
|
|||
USE_STATIC := no
|
||||
USE_MESHNET := no
|
||||
USE_UPNP := no
|
||||
USE_LMDB := yes
|
||||
|
||||
ifeq ($(WEBSOCKETS),1)
|
||||
NEEDED_CXXFLAGS += -DWITH_EVENTS
|
||||
|
@ -47,6 +48,11 @@ ifeq ($(USE_MESHNET),yes)
|
|||
NEEDED_CXXFLAGS += -DMESHNET
|
||||
endif
|
||||
|
||||
ifeq ($(USE_LMDB),yes)
|
||||
NEEDED_CXXFLAGS += -DLMDB
|
||||
LDLIBS += -llmdb
|
||||
endif
|
||||
|
||||
NEEDED_CXXFLAGS += -I$(LIB_SRC_DIR) -I$(LIB_CLIENT_SRC_DIR)
|
||||
|
||||
all: mk_obj_dir $(ARLIB) $(ARLIB_CLIENT) $(I2PD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue