]> granicus.if.org Git - pdns/commitdiff
hook up protobuf to the testrunner
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 22 Jun 2016 09:49:55 +0000 (11:49 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 22 Jun 2016 09:49:55 +0000 (11:49 +0200)
pdns/Makefile.am

index 82920339670daa6bb9d800adc97319e61737ef11..e2c6a536d7ab698920cf414d5ba540faa0e5b01b 100644 (file)
@@ -1162,6 +1162,14 @@ testrunner_LDADD = \
        $(RT_LIBS) \
        $(LIBDL)
 
+if HAVE_PROTOBUF
+nodist_testrunner_SOURCES = \
+       dnsmessage.pb.cc dnsmessage.pb.h
+
+testrunner_LDADD += \
+       $(PROTOBUF_LIBS)
+endif
+
 if PKCS11
 testrunner_SOURCES += pkcs11signers.cc pkcs11signers.hh
 testrunner_LDADD += $(P11KIT1_LIBS)