From: Aki Tuomi Date: Fri, 8 Jan 2016 12:36:11 +0000 (+0200) Subject: Add JSON11 X-Git-Tag: dnsdist-1.0.0-alpha2~36^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d171982c40f9328bc2d8f137816e8cd396f21e2b;p=pdns Add JSON11 --- diff --git a/modules/remotebackend/Makefile.am b/modules/remotebackend/Makefile.am index 5cd8878e0..304f98e8c 100644 --- a/modules/remotebackend/Makefile.am +++ b/modules/remotebackend/Makefile.am @@ -6,6 +6,8 @@ AM_CPPFLAGS += \ AM_LDFLAGS = $(THREADFLAGS) +JSON11_LIBS = -L$(top_srcdir)/ext/json11 -ljson11 + EXTRA_DIST = \ OBJECTFILES \ OBJECTLIBS \ @@ -44,7 +46,7 @@ libremotebackend_la_SOURCES = \ libremotebackend_la_LDFLAGS = -module -avoid-version -libremotebackend_la_LIBADD = $(YAHTTP_LIBS) +libremotebackend_la_LIBADD = $(YAHTTP_LIBS) $(JSON11_LIBS) if REMOTEBACKEND_ZEROMQ libremotebackend_la_LIBADD += $(LIBZMQ_LIBS) @@ -118,6 +120,7 @@ libtestremotebackend_la_SOURCES = \ ../../pdns/rcpgenerator.cc \ ../../pdns/unix_utility.cc \ ../../pdns/gss_context.cc ../../pdns/gss_context.hh \ + ../../pdns/json.hh ../../pdns/json.cc \ httpconnector.cc \ pipeconnector.cc \ unixconnector.cc \ @@ -132,7 +135,7 @@ libtestremotebackend_la_LIBADD = \ $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \ $(BOOST_SERIALIZATION_LIBS) \ $(BOOST_PROGRAM_OPTIONS_LIBS) \ - $(LIBDL) + $(LIBDL) $(JSON11_LIBS) libtestremotebackend_la_LDFLAGS = \ $(AM_LDFLAGS) \