mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
And fixes to bootstrap to properly enable building
This commit is contained in:
parent
7402b1bc95
commit
3f681eea0d
|
@ -84,16 +84,13 @@ if args.lua_dir:
|
|||
if args.ci:
|
||||
ldflags.extend(library_includes(['lib']))
|
||||
include.extend(['./include'])
|
||||
if args.lua_lib:
|
||||
if args.lua_lib == 'luajit':
|
||||
include.extend(['/usr/include/luajit-2.0'])
|
||||
ldflags.extend(libraries(['luajit-5.1']))
|
||||
else:
|
||||
include.extend(['/usr/include/' + args.lua_lib])
|
||||
ldflags.extend(libraries([args.lua_lib]))
|
||||
else:
|
||||
include.extend(['/usr/include/lua-5.3', '/usr/include/lua-5.2', '/usr/include/lua-5.1', '/usr/include/luajit-2.0'])
|
||||
else:
|
||||
if args.lua_lib:
|
||||
ldflags.extend(libraries([args.lua_lib]))
|
||||
|
||||
if args.testing:
|
||||
|
|
Loading…
Reference in New Issue
Block a user