]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
teach proto_c to look in the source directory for out of tree builds
authorMark Andrews <marka@isc.org>
Tue, 12 Feb 2019 04:27:57 +0000 (15:27 +1100)
committerMark Andrews <marka@isc.org>
Tue, 19 Feb 2019 22:45:45 +0000 (09:45 +1100)
(cherry picked from commit c0d4ff57961edfaf0713d9a215750cfa26f42548)

lib/dns/Makefile.in

index 9a3234b7f91f62ba4b53ed1d1412d3f3a897cf39..2731cf55f7c6478862d260a8803a0602c673a8bc 100644 (file)
@@ -220,7 +220,7 @@ ${OBJS}: include
 dnstap.@O@: dnstap.c dnstap.pb-c.c
 
 dnstap.pb-c.c dnstap.pb-c.h include/dns/dnstap.pb-c.h: dnstap.proto
-       $(PROTOC_C) --c_out=. dnstap.proto
+       $(PROTOC_C) --c_out=. --proto_path ${srcdir} dnstap.proto
        cp -f dnstap.pb-c.h include/dns
 
 dnstap.pb-c.@O@: dnstap.pb-c.c