summaryrefslogtreecommitdiff
path: root/pcr/modsecurity/fix_lua_detection.patch
blob: 1411651704e84bb2902d4697a766379b6ae67a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -uprNEBZ --suppress-blank-empty a/build/find_lua.m4 b/build/find_lua.m4
--- a/build/find_lua.m4	2017-07-18 13:45:57.000000000 -0500
+++ b/build/find_lua.m4	2017-07-22 18:07:59.534421087 -0500
@@ -16,7 +16,7 @@ LUA_CPPFLAGS=""
 LUA_LDADD=""
 LUA_LDFLAGS=""
 LUA_CONFIG=${PKG_CONFIG}
-LUA_PKGNAMES="lua5.1 lua-5.1 lua_5.1 lua-51 lua_51 lua51 lua5 lua lua5.2 lua-5.2 lua_5.2 lua-52 lua_52 lua52 lua5.3 lua-5.3 lua_5.3 lua-53 lua_53 lua53 "
+LUA_PKGNAMES="lua53 lua_53 lua-53 lua_5.3 lua-5.3 lua5.3 lua52 lua_52 lua-52 lua_5.2 lua-5.2 lua5.2 lua lua5 lua51 lua_51 lua-51 lua_5.1 lua-5.1 lua5.1"
 LUA_SONAMES="so la sl dll dylib a"

 AC_ARG_WITH(