13
0
livetrax/libs/lua/wscript
Mads Kiilerich 6b61b03434 wscript: drop traces of shutdown() handling
autowaf has no real shutdown functionality anyway. The automatic
shutdown function that could have been called wouldn't work anyway, as
it takes an argument.

The only reason it doesn't fail is that the top level wscript has no
shutdown handling and doesn't recurse to other scripts, so it is all
dead code.
2023-10-15 10:47:16 -06:00

22 lines
601 B
Python

#!/usr/bin/env python
from waflib.extras import autowaf as autowaf
I18N_PACKAGE = 'liblua'
def options(opt):
pass
def configure(conf):
pass
def build(bld):
obj=bld.stlib (source = ['lua.cc', 'luastate.cc'],
cflags = [ bld.env['compiler_flags_dict']['pic'] ],
cxxflags = [ bld.env['compiler_flags_dict']['pic'] ],
includes = ['.'],
export_includes = ['.'],
target = 'liblua',
uselib = [ 'SIGCPP', 'DL' ]
)
autowaf.ensure_visible_symbols (obj, True)