Skip to content

Commit

Permalink
Update makefile.unix
Browse files Browse the repository at this point in the history
  • Loading branch information
vashshawn authored Oct 1, 2023
1 parent 56c8d5e commit 44837e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/makefile.unix
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ all: litedoged
#
ifeq (${USE_LEVELDB}, 1)
LIBS += $(CURDIR)/leveldb/libleveldb.a $(CURDIR)/leveldb/libmemenv.a
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include)
DEFS += $(addprefix -I,$(CURDIR)/leveldb/include) -DUSE_LEVELDB
DEFS += $(addprefix -I,$(CURDIR)/leveldb/helpers)
OBJS += obj/txdb-leveldb.o
leveldb/libleveldb.a:
Expand Down Expand Up @@ -188,7 +188,7 @@ obj/%.o: %.cpp
rm -f $(@:%.o=%.d)

litedoged: $(OBJS:obj/%=obj/%)
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)
$(CXX) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)

TESTOBJS := $(patsubst test/%.cpp,obj-test/%.o,$(wildcard test/*.cpp))

Expand Down

0 comments on commit 44837e8

Please sign in to comment.