2016-02-13 16:31:17 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
from waflib.extras import autowaf as autowaf
|
|
|
|
|
|
|
|
I18N_PACKAGE = 'liblua'
|
|
|
|
|
|
|
|
def options(opt):
|
2022-01-25 11:43:36 -05:00
|
|
|
pass
|
2016-02-13 16:31:17 -05:00
|
|
|
|
|
|
|
def configure(conf):
|
2022-01-22 16:09:13 -05:00
|
|
|
pass
|
2016-02-13 16:31:17 -05:00
|
|
|
|
|
|
|
def build(bld):
|
2020-01-13 18:52:01 -05:00
|
|
|
obj=bld.stlib (source = ['lua.cc', 'luastate.cc'],
|
|
|
|
cflags = [ bld.env['compiler_flags_dict']['pic'] ],
|
2018-10-14 22:06:11 -04:00
|
|
|
cxxflags = [ bld.env['compiler_flags_dict']['pic'] ],
|
|
|
|
includes = ['.'],
|
|
|
|
export_includes = ['.'],
|
|
|
|
target = 'liblua',
|
|
|
|
uselib = [ 'SIGCPP', 'DL' ]
|
2016-02-13 16:31:17 -05:00
|
|
|
)
|
|
|
|
autowaf.ensure_visible_symbols (obj, True)
|