dd include flags for test cases.

When building with OpenSSL at a custom prefix, some test cases will fail
 to compile due to missing include path compiler options. This patch adds
 them, as well as defining CPPFLAGS and LDADD for test_expr.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Philip Boulain
2012-09-10 08:39:42 -07:00
committed by Love Hornquist Astrand
parent 6f594e7d8b
commit 12f7c3248b

View File

@@ -205,10 +205,12 @@ check_PROGRAMS = $(PROGRAM_TESTS) test_soft_pkcs11
LDADD = libhx509.la
test_soft_pkcs11_LDADD = libhx509.la
test_soft_pkcs11_CPPFLAGS = -I$(srcdir)/ref
test_soft_pkcs11_CPPFLAGS = $(INCLUDE_hcrypto) -I$(srcdir)/ref
test_name_CPPFLAGS = $(INCLUDE_hcrypto)
test_name_LDADD = libhx509.la $(LIB_roken)
test_expr_CPPFLAGS = $(INCLUDE_hcrypto)
test_expr_LDADD = libhx509.la $(LIB_roken)
TESTS = $(SCRIPT_TESTS) $(PROGRAM_TESTS)