From 12f7c3248b784d9a0292550525a58b7ea5d0e34c Mon Sep 17 00:00:00 2001 From: Philip Boulain Date: Mon, 10 Sep 2012 08:39:42 -0700 Subject: [PATCH] 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 --- lib/hx509/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/hx509/Makefile.am b/lib/hx509/Makefile.am index d8220f4db..b28ba928f 100644 --- a/lib/hx509/Makefile.am +++ b/lib/hx509/Makefile.am @@ -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)