FS-7519: [mod_avcodec] add x264 to linker
This commit is contained in:
parent
5220c91395
commit
d2d00056e8
|
@ -1267,6 +1267,10 @@ PKG_CHECK_MODULES([AVCODEC], [libavcodec >= 53.35.0],[
|
|||
AM_CONDITIONAL([HAVE_AVCODEC],[true])],[
|
||||
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_AVCODEC],[false])])
|
||||
|
||||
PKG_CHECK_MODULES([X264], [x264 >= 0.142.2431],[
|
||||
AM_CONDITIONAL([HAVE_X264],[true])],[
|
||||
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_X264],[false])])
|
||||
|
||||
PKG_CHECK_MODULES([AVFORMAT], [libavformat >= 53.21.1],[
|
||||
AM_CONDITIONAL([HAVE_AVFORMAT],[true])],[
|
||||
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_AVFORMAT],[false])])
|
||||
|
|
|
@ -5,8 +5,8 @@ if HAVE_AVCODEC
|
|||
|
||||
mod_LTLIBRARIES = mod_avcodec.la
|
||||
mod_avcodec_la_SOURCES = mod_avcodec.c
|
||||
mod_avcodec_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS) $(AVUTIL_CFLAGS)
|
||||
mod_avcodec_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(AVCODEC_LIBS) $(AVFORMAT_LIBS) $(AVUTIL_LIBS)
|
||||
mod_avcodec_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS) $(AVUTIL_CFLAGS) $(X264_CFLAGS)
|
||||
mod_avcodec_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(AVCODEC_LIBS) $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(X264_LIBS)
|
||||
mod_avcodec_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm -lz
|
||||
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue