]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add OPENSSL_CFLAGS to libdns tests that include dst_internal.h
authorOndřej Surý <ondrej@isc.org>
Wed, 22 Apr 2020 12:24:21 +0000 (14:24 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 23 Apr 2020 13:53:03 +0000 (15:53 +0200)
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

index 8a890bfb475b717043d44e205f0eaf03aeacf07a..177cadec1a47d3d162efb7225a56c6de2bf13261 100644 (file)
@@ -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)