aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.linux-mingw
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-10-16 22:23:39 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-10-20 23:08:57 +0200
commit4ca60bba5c3b8394c252715c71e8758d63c316ee (patch)
tree7c0df7313bf492b67bd629a01d28074f22af4104 /src/makefile.linux-mingw
parentbeeb57610cf57c1d802be993ac0e98211bfc5f0c (diff)
Remove BDB block database support
Diffstat (limited to 'src/makefile.linux-mingw')
-rw-r--r--src/makefile.linux-mingw12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw
index eee325d624..f4adbb2bff 100644
--- a/src/makefile.linux-mingw
+++ b/src/makefile.linux-mingw
@@ -6,7 +6,6 @@ DEPSDIR:=/usr/i586-mingw32msvc
USE_UPNP:=0
USE_IPV6:=1
-USE_LEVELDB:=1
INCLUDEPATHS= \
-I"$(CURDIR)" \
@@ -83,21 +82,18 @@ OBJS= \
obj/util.o \
obj/wallet.o \
obj/walletdb.o \
- obj/noui.o
+ obj/noui.o \
+ obj/leveldb.o \
+ obj/txdb.o
all: bitcoind.exe
-ifdef USE_LEVELDB
LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
-DEFS += -I"$(CURDIR)/leveldb/include" -DUSE_LEVELDB
+DEFS += -I"$(CURDIR)/leveldb/include"
DEFS += -I"$(CURDIR)/leveldb/helpers"
-OBJS += obj/leveldb.o obj/txdb-leveldb.o
leveldb/libleveldb.a:
@echo "Building LevelDB ..."; cd leveldb; TARGET_OS=OS_WINDOWS_CROSSCOMPILE CXXFLAGS="-I$(INCLUDEPATHS)" LDFLAGS="-L$(LIBPATHS)" make libleveldb.a libmemenv.a; cd ..
obj/leveldb.o: leveldb/libleveldb.a
-else
-OBJS += obj/txdb-bdb.o
-endif
obj/build.h: FORCE
/bin/sh ../share/genbuild.sh obj/build.h