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:
parent
07d09b7869
commit
749ced5f60
|
@ -18,7 +18,11 @@ mod_lua_la_CFLAGS = -I$(LUA_DIR) $(AM_CPPFLAGS) -DLUA_USE_LINUX
|
||||||
endif
|
endif
|
||||||
|
|
||||||
mod_lua_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
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
|
reswig: swigclean lua_wrap
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue