From 6a6a9f7afa3390dd35c423b4e81162755f3766a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 22 Apr 2020 14:24:21 +0200 Subject: [PATCH] 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. --- lib/dns/tests/Makefile.am | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/dns/tests/Makefile.am b/lib/dns/tests/Makefile.am index 8a890bfb47..177cadec1a 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)