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 Feb 28, 2020
1 parent 3616bc4 commit 97769a2
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 @@ -221,8 +221,10 @@ rover: $(ROVER)
$(S2I_CONTEXT)/Roverfile.lock : $(S2I_CONTEXT)/Roverfile $(S2I_CONTEXT)/apicast-scm-1.rockspec
$(ROVER) lock --roverfile=$(S2I_CONTEXT)/Roverfile

lua_modules: export HAVE_EVP_KDF_CTX = 1
lua_modules: $(ROVER) $(S2I_CONTEXT)/Roverfile.lock
$(ROVER) install --roverfile=$(S2I_CONTEXT)/Roverfile > /dev/null
# https://github.com/wahern/luaossl/issues/175
HAVE_EVP_KDF_CTX=1 $(ROVER) install --roverfile=$(S2I_CONTEXT)/Roverfile > /dev/null

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 97769a2

Please sign in to comment.