diff options
Diffstat (limited to 'src/makefile.osx')
-rw-r--r-- | src/makefile.osx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/makefile.osx b/src/makefile.osx index 9a9296f412..f3e17d0d13 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -21,7 +21,6 @@ LIBPATHS= \ USE_UPNP:=1 USE_IPV6:=1 -USE_LEVELDB:=1 LIBS= -dead_strip @@ -97,7 +96,9 @@ OBJS= \ obj/util.o \ obj/wallet.o \ obj/walletdb.o \ - obj/noui.o + obj/noui.o \ + obj/leveldb.o \ + obj/txdb.o ifndef USE_UPNP override USE_UPNP = - @@ -123,17 +124,12 @@ test check: test_bitcoin FORCE # # LevelDB support # -ifdef USE_LEVELDB LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a -DEFS += $(addprefix -I,$(CURDIR)/leveldb/include) -DUSE_LEVELDB +DEFS += $(addprefix -I,$(CURDIR)/leveldb/include) DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers) -OBJS += obj/leveldb.o obj/txdb-leveldb.o leveldb/libleveldb.a: @echo "Building LevelDB ..."; cd leveldb; make libleveldb.a libmemenv.a; cd .. obj/leveldb.o: leveldb/libleveldb.a -else -OBJS += obj/txdb-bdb.o -endif # auto-generated dependencies: -include obj/*.P |