From bcd889d2c9969a1b6cb538a763f4813d1891446f Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 12 Nov 2018 12:13:37 -0800 Subject: Call lua as lua5.2 to make sure we get the right version --- pkg/python/gen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/python/gen.lua') 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, { -- cgit v1.2.3