Merge pull request #1303 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-10384-fix-mod_lua-target to master

* commit '56f766f357a2dffa2aa6a562971b04bc7d9f7c97':
  FS-10384 [mod_lua] Fix Makefile target
This commit is contained in:
Mike Jerris 2017-06-12 18:24:14 +00:00
commit 11d98e4fb2
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@ mod_lua_la_CFLAGS = $(AM_CPPFLAGS) $(LUA_CFLAGS) $(CPPFLAGS)
mod_lua_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_lua_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm $(AM_LDFLAGS) $(SOLINK) $(LUA_LIBS)
reswig: swigclean lua_wrap
reswig: swigclean mod_lua_wrap.cpp
swigclean: clean
rm -f mod_lua_wrap.*
lua_wrap: mod_lua_extra.c
mod_lua_wrap.cpp: mod_lua_extra.c
swig2.0 -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