From: Ondřej Surý Date: Wed, 22 Apr 2020 12:24:21 +0000 (+0200) Subject: Add OPENSSL_CFLAGS to libdns tests that include dst_internal.h X-Git-Tag: v9.17.2~124^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a6a9f7afa3390dd35c423b4e81162755f3766a4;p=thirdparty%2Fbind9.git Add OPENSSL_CFLAGS to libdns tests that include dst_internal.h The three libdns tests directly include ../dst_internal.h which in turn directly include openssl headers, thus there was a missing path and build failure on systems where OpenSSL is not in the default include path. --- diff --git a/lib/dns/tests/Makefile.am b/lib/dns/tests/Makefile.am index 8a890bfb475..177cadec1a4 100644 --- a/lib/dns/tests/Makefile.am +++ b/lib/dns/tests/Makefile.am @@ -94,3 +94,15 @@ dnstap_test_LDADD = \ $(LDADD) \ $(DNSTAP_LIBS) endif + +dh_test_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(OPENSSL_CFLAGS) + +dst_test_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(OPENSSL_CFLAGS) + +rsa_test_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(OPENSSL_CFLAGS)