Handle failure to infer LUA_VERSION_NUM from lua.h

This commit is contained in:
mpeterv 2016-03-29 13:06:54 +03:00
parent 3eb06b5a7b
commit 3b116f5577

View File

@ -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()