Handle failure to infer LUA_VERSION_NUM from lua.h
This commit is contained in:
parent
3eb06b5a7b
commit
3b116f5577
@ -375,6 +375,8 @@ class Lua(Program):
|
|||||||
if match:
|
if match:
|
||||||
return "5." + match.group(1)
|
return "5." + match.group(1)
|
||||||
|
|
||||||
|
sys.exit("Error: couldn't infer Lua major version from lua.h")
|
||||||
|
|
||||||
def set_identifiers(self):
|
def set_identifiers(self):
|
||||||
super(Lua, self).set_identifiers()
|
super(Lua, self).set_identifiers()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user