FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2

This commit is contained in:
Michael Jerris 2015-01-20 13:03:06 -05:00
parent 07d09b7869
commit 749ced5f60
1 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,11 @@ mod_lua_la_CFLAGS = -I$(LUA_DIR) $(AM_CPPFLAGS) -DLUA_USE_LINUX
endif
mod_lua_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_lua_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm -llua $(AM_LDFLAGS) $(SOLINK)
mod_lua_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm $(AM_LDFLAGS) $(SOLINK)
if SYSTEM_LUA
mod_lua_la_LDFLAGS += -llua
endif
reswig: swigclean lua_wrap