summaryrefslogtreecommitdiff
path: root/www/angie-module-lua/files/patch-lua-config
diff options
context:
space:
mode:
authorOleg A. Mamontov <oleg@mamontov.net>2023-09-20 00:48:14 +0300
committerRobert Clausecker <fuz@FreeBSD.org>2023-09-22 00:54:46 -0400
commitc514bb25ddcd78330d893858605e61d79156acf1 (patch)
treef11e1737bca325af10212bbf03c3530e354a4b3b /www/angie-module-lua/files/patch-lua-config
parenttextproc/md2roff: markdown to roff converter (diff)
www/angie-module-lua: Angie Lua dynamic module
Module embeds the power of Lua into Angie HTTP and STREAM servers. By leveraging Angie's subrequests, this module allows the integration of the powerful Lua threads (known as "coroutines") into the Angie event model. PR: 273462
Diffstat (limited to 'www/angie-module-lua/files/patch-lua-config')
-rw-r--r--www/angie-module-lua/files/patch-lua-config26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/angie-module-lua/files/patch-lua-config b/www/angie-module-lua/files/patch-lua-config
new file mode 100644
index 000000000000..46b570724957
--- /dev/null
+++ b/www/angie-module-lua/files/patch-lua-config
@@ -0,0 +1,26 @@
+--- ../lua-nginx-module-0.10.25/config.orig
++++ ../lua-nginx-module-0.10.25/config
+@@ -45,9 +45,9 @@
+ NGX_TEST_LD_OPT="$ngx_lua_opt_L $NGX_TEST_LD_OPT"
+
+ if [ $NGX_RPATH = YES ]; then
+- ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
++ ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
+ else
+- ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
++ ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
+ fi
+
+ . auto/feature
+@@ -71,9 +71,9 @@
+ NGX_TEST_LD_OPT="$ngx_lua_opt_L $NGX_TEST_LD_OPT"
+
+ if [ $NGX_RPATH = YES ]; then
+- ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
++ ngx_feature_libs="-R$LUAJIT_LIB $ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
+ else
+- ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 $luajit_ld_opt"
++ ngx_feature_libs="$ngx_lua_opt_L -lluajit-5.1 -lpcre $luajit_ld_opt"
+ fi
+
+ . auto/feature