From d90bded5aae4a407a9fa32fc3e6402dec04fa1ca Mon Sep 17 00:00:00 2001 From: Eloy Coto Date: Fri, 28 Feb 2020 17:54:14 +0100 Subject: [PATCH] Makefile: set env variable for luaossl This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: https://github.com/wahern/luaossl/issues/175 Signed-off-by: Eloy Coto --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f9a75fa97..a11ea417a 100644 --- a/Makefile +++ b/Makefile @@ -222,7 +222,9 @@ $(S2I_CONTEXT)/Roverfile.lock : $(S2I_CONTEXT)/Roverfile $(S2I_CONTEXT)/apicast- $(ROVER) lock --roverfile=$(S2I_CONTEXT)/Roverfile lua_modules: $(ROVER) $(S2I_CONTEXT)/Roverfile.lock - $(ROVER) install --roverfile=$(S2I_CONTEXT)/Roverfile > /dev/null + # This variable is to skip issues with openssl 1.1.1 + # https://github.com/wahern/luaossl/issues/175 + EXTRA_CFLAGS="-DHAVE_EVP_KDF_CTX=1" $(ROVER) install --roverfile=$(S2I_CONTEXT)/Roverfile lua_modules/bin/rover: @LUAROCKS_CONFIG=$(S2I_CONTEXT)/config-5.1.lua luarocks install --server=http://luarocks.org/dev lua-rover --tree=lua_modules 1>&2