MinGW makefile fix
authoralex <alex@alex-VirtualBox.(none)>
Sun, 25 Aug 2013 21:13:38 +0000 (01:13 +0400)
committeralex <alex@alex-VirtualBox.(none)>
Sun, 25 Aug 2013 21:13:38 +0000 (01:13 +0400)
src/makefile.linux-mingw

index c0d5fce..7930937 100644 (file)
@@ -96,7 +96,7 @@ all: novacoind.exe
 #
 # LevelDB support
 #
-ifdef USE_LEVELDB
+ifeq (${USE_LEVELDB}, 1)
 LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
 DEFS += -I"$(CURDIR)/leveldb/include" -DUSE_LEVELDB
 DEFS += -I"$(CURDIR)/leveldb/helpers"