swig hack

This commit is contained in:
Seven Du 2014-09-04 10:13:45 +08:00
parent 31f78d8cac
commit 1f26712330
1 changed files with 1 additions and 0 deletions

View File

@ -33,4 +33,5 @@ lua_wrap: mod_lua_extra.c
swig -lua -c++ -I../../../../src/include -oh mod_lua_wrap.h -o mod_lua_wrap.cpp freeswitch.i
echo "#include \"mod_lua_extra.c\"" >> mod_lua_wrap.cpp
patch -s -p0 -i hack.diff
sed -i -e 's/lua_strlen/lua_rawlen/' mod_lua_wrap.cpp