From 3b116f5577c5d29ef973b41db27f2b64e8f04c0b Mon Sep 17 00:00:00 2001 From: mpeterv Date: Tue, 29 Mar 2016 13:06:54 +0300 Subject: [PATCH] Handle failure to infer LUA_VERSION_NUM from lua.h --- hererocks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hererocks.py b/hererocks.py index ed1bf59..9ed7e86 100755 --- a/hererocks.py +++ b/hererocks.py @@ -375,6 +375,8 @@ class Lua(Program): if match: return "5." + match.group(1) + sys.exit("Error: couldn't infer Lua major version from lua.h") + def set_identifiers(self): super(Lua, self).set_identifiers()