summarylogtreecommitdiffstats
path: root/001-lua-version.patch
diff options
context:
space:
mode:
Diffstat (limited to '001-lua-version.patch')
-rw-r--r--001-lua-version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/001-lua-version.patch b/001-lua-version.patch
new file mode 100644
index 00000000000..2cde4b36b1b
--- /dev/null
+++ b/001-lua-version.patch
@@ -0,0 +1,11 @@
+--- a/lua/CMakeLists.txt
++++ b/lua/CMakeLists.txt
+@@ -24,7 +24,7 @@
+
+ IF(NOT LUAPATH)
+ EXECUTE_PROCESS(
+- COMMAND lua -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end"
++ COMMAND lua5.1 -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end"
+ OUTPUT_VARIABLE LUAPATH
+ RESULT_VARIABLE LUA_CHECK_RES
+ OUTPUT_STRIP_TRAILING_WHITESPACE