]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Allow path overrides in genversion.lua with minilua, too.
authorMike Pall <mike>
Sun, 10 Sep 2023 03:23:10 +0000 (05:23 +0200)
committerMike Pall <mike>
Sun, 10 Sep 2023 03:23:10 +0000 (05:23 +0200)
Thanks to arch1t3cht. #1067

src/host/genversion.lua

index 5ead4c2b8d41f22e74984d6001015843b314efc8..28f7206c547adab5e8670b30f026fca6c11ddca1 100644 (file)
@@ -5,6 +5,7 @@
 -- Released under the MIT license. See Copyright Notice in luajit.h
 ----------------------------------------------------------------------------
 
+local arg = {...}
 local FILE_ROLLING_H = arg[1] or "luajit_rolling.h"
 local FILE_RELVER_TXT = arg[2] or "luajit_relver.txt"
 local FILE_LUAJIT_H = arg[3] or "luajit.h"