From a577a2368553d5ce1cf4d03341428422c7efa4d4 Mon Sep 17 00:00:00 2001 From: Victor Roemer Date: Sat, 20 Aug 2016 19:40:59 -0400 Subject: [PATCH] Fix tests with luajit on darwin --- bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.py b/bootstrap.py index f2202a67..a6badb3d 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -106,10 +106,10 @@ elif 'darwin' in sys.platform: # Using normal lua lua_incl = lua_version[:-1] + '.' + lua_version[-1] lua_lib = lua_version[:-2] + '.' + lua_version[-2] + '.' + lua_version[-1] - elif re.match(r'luajit5[1-3]', lua_version): + elif re.match(r'luajit', lua_version): # luajit lua_incl = 'luajit-2.0' - lua_lib = lua_version[:-2] + '-' + lua_version[-2] + '.' + lua_version[-1] + lua_lib = 'luajit' else: raise Exception('Unknown lua_version={}' % lua_version)