From: Phil Pennock Date: Sat, 15 Sep 2018 00:55:33 +0000 (-0400) Subject: tests: propagate CPPFLAGS into build invocations X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/be4bdb96db7556f34c5f298f1c473d53f3700bd9 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. --- 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@