- Fix for parallel build of dnstap protoc-c output.

This commit is contained in:
W.C.A. Wijngaards 2025-04-29 12:38:41 +02:00
parent 0f95fae445
commit c253c8367a
2 changed files with 8 additions and 1 deletions

View file

@ -449,9 +449,13 @@ dnstap.lo dnstap.o: $(srcdir)/dnstap/dnstap.c config.h dnstap/dnstap_config.h \
$(srcdir)/util/netevent.h $(srcdir)/util/net_help.h \
$(srcdir)/util/locks.h
dnstap/dnstap.pb-c.c dnstap/dnstap.pb-c.h: $(srcdir)/dnstap/dnstap.proto
# Builds both dnstap/dnstap.pb-c.c and dnstap/dnstap.pb-c.h.
# To avoid double-building we split one target out.
dnstap/dnstap.pb-c.c: $(srcdir)/dnstap/dnstap.proto
@-if test ! -d dnstap; then $(INSTALL) -d dnstap; fi
$(PROTOC_C) --c_out=. --proto_path=$(srcdir) $(srcdir)/dnstap/dnstap.proto
dnstap/dnstap.pb-c.h: dnstap/dnstap.pb-c.c
touch $@
unbound-dnstap-socket$(EXEEXT): $(DNSTAP_SOCKET_OBJ_LINK)
$(LINK) -o $@ $(DNSTAP_SOCKET_OBJ_LINK) $(SSLLIB) $(LIBS)

View file

@ -1,3 +1,6 @@
29 April 2025: Wouter
- Fix for parallel build of dnstap protoc-c output.
28 April 2025: Yorgos
- Merge #1275: Use macros for the fr_check_changed* functions.