summaryrefslogtreecommitdiff
path: root/pkg/python/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-11-12 12:13:37 -0800
committerMichael Forney <mforney@mforney.org>2018-11-12 12:14:21 -0800
commitbcd889d2c9969a1b6cb538a763f4813d1891446f (patch)
tree0c56b2bd34347c5d5e38a1ce832fc89f13c22eff /pkg/python/gen.lua
parentdebf553c14c519d4ca1851af0227ffe694ddc4f6 (diff)
Call lua as lua5.2 to make sure we get the right version
Diffstat (limited to 'pkg/python/gen.lua')
-rw-r--r--pkg/python/gen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/python/gen.lua b/pkg/python/gen.lua
index 604c5e3b..8374d468 100644
--- a/pkg/python/gen.lua
+++ b/pkg/python/gen.lua
@@ -58,7 +58,7 @@ sources = table.keys(sources)
cflags{'-D Py_BUILD_CORE'}
-rule('makesetup', 'lua $dir/makesetup.lua $dir/modules.lua <$in >$out.tmp && mv $out.tmp $out')
+rule('makesetup', 'lua5.2 $dir/makesetup.lua $dir/modules.lua <$in >$out.tmp && mv $out.tmp $out')
build('makesetup', '$outdir/config.c', {'$srcdir/Modules/config.c.in', '|', '$dir/makesetup.lua', '$dir/modules.lua'})
cc('Modules/getbuildinfo.c', nil, {