Skip to content

Commit

Permalink
Makefile: set env variable for luaossl
Browse files Browse the repository at this point in the history
This is a fix to build luaossl with OpenSSL 1.1.1.

Related issue: wahern/luaossl#175

Signed-off-by: Eloy Coto <[email protected]>
  • Loading branch information
eloycoto committed Mar 2, 2020
1 parent 3616bc4 commit de53c52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de53c52

Please sign in to comment.