diff options
author | Mike Pall <mike> | 2023-09-10 05:23:10 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2023-09-10 05:23:10 +0200 |
commit | 9760984638d241531ff8a9eef259aad2272f0f75 (patch) | |
tree | b41aed329aabd8198327ff5e3bd47aa84ae5f0c5 /src/host | |
parent | 4fe200229289c43868442ba344a71f4ff847bfe1 (diff) | |
download | luajit-9760984638d241531ff8a9eef259aad2272f0f75.tar.gz luajit-9760984638d241531ff8a9eef259aad2272f0f75.tar.bz2 luajit-9760984638d241531ff8a9eef259aad2272f0f75.zip |
Allow path overrides in genversion.lua with minilua, too.
Thanks to arch1t3cht. #1067
Diffstat (limited to 'src/host')
-rw-r--r-- | src/host/genversion.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/genversion.lua b/src/host/genversion.lua index 5ead4c2b..28f7206c 100644 --- a/src/host/genversion.lua +++ b/src/host/genversion.lua | |||
@@ -5,6 +5,7 @@ | |||
5 | -- Released under the MIT license. See Copyright Notice in luajit.h | 5 | -- Released under the MIT license. See Copyright Notice in luajit.h |
6 | ---------------------------------------------------------------------------- | 6 | ---------------------------------------------------------------------------- |
7 | 7 | ||
8 | local arg = {...} | ||
8 | local FILE_ROLLING_H = arg[1] or "luajit_rolling.h" | 9 | local FILE_ROLLING_H = arg[1] or "luajit_rolling.h" |
9 | local FILE_RELVER_TXT = arg[2] or "luajit_relver.txt" | 10 | local FILE_RELVER_TXT = arg[2] or "luajit_relver.txt" |
10 | local FILE_LUAJIT_H = arg[3] or "luajit.h" | 11 | local FILE_LUAJIT_H = arg[3] or "luajit.h" |