From be4bdb96db7556f34c5f298f1c473d53f3700bd9 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Fri, 14 Sep 2018 20:55:33 -0400 Subject: [PATCH] tests: propagate CPPFLAGS into build invocations With openssl installed by brew on macOS, OpenSSL headers are not in a normal place. I can fiddle with LDFLAGS/CPPFLAGS to get them available, but then the `./configure` step succeeds and build fails. Propagating the CPPFLAGS into the generated Makefile lets the build succeed and we get a `client-ssl` binary output. --- test/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.in b/test/Makefile.in index edcc4ab78..6d3bc5550 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -4,7 +4,7 @@ # These variables are set by the configure script. CC=@CC@ -CFLAGS=@CFLAGS@ @BIND_8_COMPAT@ @DEFS@ +CFLAGS=@CFLAGS@ @CPPFLAGS@ @BIND_8_COMPAT@ @DEFS@ LDFLAGS=@LDFLAGS@ CLIENT_SSL=@CLIENT_SSL@ CLIENT_GNUTLS=@CLIENT_GNUTLS@ -- 2.25.1