diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-09-03 19:05:30 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-10-20 23:08:56 +0200 |
commit | 43b7905e98d827df45e970dbaf5f08561ecc6cda (patch) | |
tree | a2f90a07dfd16e3a3ec1ae418e3f65a2f2177579 /src/makefile.linux-mingw | |
parent | 3ff3a2bd60a905d830de157390facde14aa0ffe3 (diff) |
LevelDB glue
Database-independent glue for supporting LevelDB databases.
Based on code from earlier commits by Mike Hearn in his leveldb
branch.
Diffstat (limited to 'src/makefile.linux-mingw')
-rw-r--r-- | src/makefile.linux-mingw | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 8f8279c926..9bad54cb61 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -88,12 +88,13 @@ OBJS= \ all: bitcoind.exe ifdef USE_LEVELDB -LIBS += $(CURDIR)/leveldb/libleveldb.lib $(CURDIR)/leveldb/libmemenv.a +LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a DEFS += -I"$(CURDIR)/leveldb/include" -DUSE_LEVELDB DEFS += -I"$(CURDIR)/leveldb/helpers" +OBJS += obj/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/db.o: leveldb/libleveldb.a +obj/leveldb.o: leveldb/libleveldb.a endif obj/build.h: FORCE |