Skip to content

Conversation

shreemaan-abhishek
Copy link
Contributor

@shreemaan-abhishek shreemaan-abhishek commented Mar 24, 2024

This patch is no longer needed as the upstream openresty ngx-lua module already contains this fix.
https://github.com/openresty/lua-nginx-module/blob/45db94a3440a12165b8d64495a4b5dd78678214f/src/ngx_http_lua_headers.c#L1324

Compiling apisix-runtime without removing this patch results in following error:

../ngx_lua-0.10.26/src/ngx_http_lua_headers.c:1345:1: error: redefinition of 'ngx_http_lua_ffi_set_resp_header_macos'
ngx_http_lua_ffi_set_resp_header_macos(ngx_http_lua_set_resp_header_params_t *p)

@Revolyssup
Copy link
Contributor

This PR might be helpful for compiling apisix-runtime on macos silicon. Since I (and most developers) dont compile it on macos, this never bothered. But we can still merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants