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.
This commit is contained in:
Ondřej Surý
2020-04-22 14:24:21 +02:00
parent a9c0194009
commit 6a6a9f7afa

View 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)