aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2012-10-28 17:46:34 -0400
committerMatt Corallo <git@bluematt.me>2012-10-29 15:43:17 -0400
commitf53b125507ed85a7b7974525bbefc8f7db88c7aa (patch)
treebf12933983bc749c49042522b7b4cd801562bbd2
parent3b4f8ad71dfdd98d7a8066af616f7973125ad6e2 (diff)
Fix linux-mingw makefile's leveldb build by setting CXX.
-rw-r--r--src/makefile.linux-mingw2
1 files changed, 1 insertions, 1 deletions
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