From 1f2671233092c00dd9bbbc52de3a5eceb60625f4 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Thu, 4 Sep 2014 10:13:45 +0800 Subject: [PATCH] swig hack --- src/mod/languages/mod_lua/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/languages/mod_lua/Makefile.am b/src/mod/languages/mod_lua/Makefile.am index 2a0b51e933..d727bf88b6 100644 --- a/src/mod/languages/mod_lua/Makefile.am +++ b/src/mod/languages/mod_lua/Makefile.am @@ -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