From f53b125507ed85a7b7974525bbefc8f7db88c7aa Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 28 Oct 2012 17:46:34 -0400 Subject: [PATCH] Fix linux-mingw makefile's leveldb build by setting CXX. --- src/makefile.linux-mingw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index ef566b9cf3..f7483933c5 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -92,7 +92,7 @@ LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a DEFS += -I"$(CURDIR)/leveldb/include" DEFS += -I"$(CURDIR)/leveldb/helpers" 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 .. + @echo "Building LevelDB ..." && cd leveldb && CXX=i586-mingw32msvc-g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE CXXFLAGS="-I$(INCLUDEPATHS)" LDFLAGS="-L$(LIBPATHS)" make libleveldb.a libmemenv.a && cd .. obj/leveldb.o: leveldb/libleveldb.a obj/build.h: FORCE