Skip to content

Commit

Permalink
Add WITH_JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Feb 27, 2020
1 parent 7f85b4a commit bdd9d34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mk_mingw.mak
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ LIBS += $(shell pkg-config --libs libxml-2.0)
PARSER_SRCS += $(XML_SRCS)
PARSER_HEADS += $(XML_HEADS)
endif
ifeq (yes, $(WITH_JSON))
CFLAGS += -DHAVE_JANSSON=1 $(shell pkg-config --cflags jansson)
LIBS += $(shell pkg-config --libs jansson)
endif

ifdef DEBUG
DEFINES += -DDEBUG
Expand Down

0 comments on commit bdd9d34

Please sign in to comment.