]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-10384 [mod_lua] Fix Makefile target
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 10 Jun 2017 10:48:23 +0000 (12:48 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 10 Jun 2017 10:48:28 +0000 (12:48 +0200)
commit56f766f357a2dffa2aa6a562971b04bc7d9f7c97
tree15e4c826fb78d10ea9a88233b41a06c5dd91cd34
parent61f8380b70e88929ae634af078fd0e0f85e644b3
FS-10384 [mod_lua] Fix Makefile target

When running "make swigclean" in mod_lua directory and trying to compile
mod_lua afterward, the build fails because the target mod_lua_wrap.cpp
doesn't exist. The target is wrongly called lua_wrap instead.

making all mod_lua
make[7]: Entering directory '/path/to/freeswitch-1.6.17/src/mod/languages/mod_lua'
  CXX mod_lua_la-mod_lua.lo
  CXX mod_lua_la-freeswitch_lua.lo
make[7]: *** No rule to make target 'mod_lua_wrap.cpp', needed by 'mod_lua_la-mod_lua_wrap.lo'. Stop.

Fix this by renaming lua_wrap to mod_lua_wrap.cpp.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
src/mod/languages/mod_lua/Makefile.am