Squashed 'src/deps/src/lua-resty-core/' changes from fa3cd7aec..2da3d7719

2da3d7719 bumped to version v0.1.30.
7190617b8 bugfix: fixed freebsd compatibility issue.

git-subtree-dir: src/deps/src/lua-resty-core
git-subtree-split: 2da3d7719a05b2981f3808ca874517b558f29fa9
This commit is contained in:
Théophile Diot 2024-10-21 11:30:20 +02:00
parent 9d19872aff
commit 85f860ffc7
2 changed files with 5 additions and 7 deletions

View file

@ -6,8 +6,6 @@ LUA_INCLUDE_DIR ?= $(PREFIX)/include
LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
INSTALL ?= install
SHELL := /bin/bash
.PHONY: all test install
all: ;
@ -22,10 +20,10 @@ install: all
$(INSTALL) lib/ngx/ssl/*.lua $(DESTDIR)$(LUA_LIB_DIR)/ngx/ssl/
ifeq ($(LUA_LIB_DIR),/usr/local/lib/lua/)
@echo
@echo -e "\033[33mPLEASE NOTE: \033[0m"
@echo -e "\033[33mThe necessary lua_package_path directive needs to be added to nginx.conf\033[0m"
@echo -e "\033[33min the http context, because \"/usr/local/lib/lua/\" is not in LuaJITs default search path.\033[0m"
@echo -e "\033[33mRefer to the Installation section of README.markdown.\033[0m"
@printf "\033[33mPLEASE NOTE: \033[0m\n"
@printf "\033[33mThe necessary lua_package_path directive needs to be added to nginx.conf\033[0m\n"
@printf "\033[33min the http context, because \"/usr/local/lib/lua/\" is not in LuaJITs default search path.\033[0m\n"
@printf "\033[33mRefer to the Installation section of README.markdown.\033[0m\n"
endif
test: all

View file

@ -141,7 +141,7 @@ local c_buf_type = ffi.typeof("char[?]")
local _M = new_tab(0, 18)
_M.version = "0.1.29"
_M.version = "0.1.30"
_M.new_tab = new_tab
_M.clear_tab = clear_tab