diff options
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 |