forked from Mirrors/freeswitch
this is a bit more sane
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16543 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d47c147cdb
commit
54a9eba44d
|
@ -363,7 +363,6 @@ if test "$ac_cv_found_odbc" = "yes" ; then
|
||||||
enable_core_odbc_support="yes"
|
enable_core_odbc_support="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LUA_LDFLAGS=
|
|
||||||
ESL_LDFLAGS=
|
ESL_LDFLAGS=
|
||||||
PLATFORM_CORE_DEPLIBS=
|
PLATFORM_CORE_DEPLIBS=
|
||||||
# tweak platform specific flags
|
# tweak platform specific flags
|
||||||
|
@ -387,8 +386,8 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
*-solaris2*)
|
*-solaris2*)
|
||||||
APR_ADDTO(SWITCH_AM_CFLAGS, -DPATH_MAX=2048)
|
APR_ADDTO(SWITCH_AM_CFLAGS, -DPATH_MAX=2048)
|
||||||
|
APR_ADDTO(SWITCH_AM_LDFLAGS, -lsendfile -lresolv -lsocket -lnsl -luuid)
|
||||||
APR_ADDTO(ESL_LDFLAGS, -lnsl -lsocket)
|
APR_ADDTO(ESL_LDFLAGS, -lnsl -lsocket)
|
||||||
LUA_LDFLAGS="-lsendfile -lresolv -lsocket -lnsl -luuid"
|
|
||||||
;;
|
;;
|
||||||
*bsd*)
|
*bsd*)
|
||||||
APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/local/include)
|
APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/local/include)
|
||||||
|
@ -397,7 +396,6 @@ esac
|
||||||
|
|
||||||
APR_REMOVEFROM(SWITCH_AM_CXXFLAGS, -std=c99)
|
APR_REMOVEFROM(SWITCH_AM_CXXFLAGS, -std=c99)
|
||||||
|
|
||||||
AC_SUBST(LUA_LDFLAGS)
|
|
||||||
AC_SUBST(SWITCH_AM_CFLAGS)
|
AC_SUBST(SWITCH_AM_CFLAGS)
|
||||||
AC_SUBST(SWITCH_ANSI_CFLAGS)
|
AC_SUBST(SWITCH_ANSI_CFLAGS)
|
||||||
AC_SUBST(SWITCH_AM_CXXFLAGS)
|
AC_SUBST(SWITCH_AM_CXXFLAGS)
|
||||||
|
|
|
@ -10,7 +10,7 @@ mod_LTLIBRARIES = mod_lua.la
|
||||||
mod_lua_la_SOURCES = mod_lua.cpp freeswitch_lua.cpp mod_lua_wrap.cpp
|
mod_lua_la_SOURCES = mod_lua.cpp freeswitch_lua.cpp mod_lua_wrap.cpp
|
||||||
mod_lua_la_CXXFLAGS = -Ilua $(AM_CPPFLAGS)
|
mod_lua_la_CXXFLAGS = -Ilua $(AM_CPPFLAGS)
|
||||||
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 $(LIBLUA_A) $(SOLINK) $(LUA_LDFLAGS)
|
mod_lua_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm $(AM_LDFLAGS) $(LIBLUA_A) $(SOLINK)
|
||||||
|
|
||||||
BUILT_SOURCES = $(LIBLUA_A)
|
BUILT_SOURCES = $(LIBLUA_A)
|
||||||
$(mod_lua_la_SOURCES) : $(BUILT_SOURCES)
|
$(mod_lua_la_SOURCES) : $(BUILT_SOURCES)
|
||||||
|
|
Loading…
Reference in New Issue