• Michał Kępień's avatar
    Fix libdns CFLAGS · 0975eeed
    Michał Kępień authored
    Since lib/dns/include/dns/view.h unconditionally defines dnstap-related
    fields in struct dns_view (and includes <dns/dnstap.h>), care must be
    taken to ensure that any source file which includes <dns/view.h> gets
    built with a set of CFLAGS which allows <dns/dnstap.h> to be properly
    processed (particularly its <fstrm.h> and <protobuf-c/protobuf-c.h>
    conditional dependencies which are only included for dnstap-enabled
    builds).  Ensure that by making LIBDNS_CFLAGS include DNSTAP_CFLAGS when
    building with dnstap support.
    The same reasoning applies for LMDB_CFLAGS.
Makefile.top 1.63 KB