mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
vp8: link with -lm -lpthread when testing for vp8 encoder/decoder
Fixup for bug #619172.
This commit is contained in:
parent
d0f09279ed
commit
1e5f371650
1 changed files with 4 additions and 0 deletions
|
@ -1487,6 +1487,9 @@ AG_GST_CHECK_FEATURE(VP8, [VP8 decoder], vp8, [
|
|||
vpx/vpx_codec.h, [
|
||||
HAVE_VP8_ENCODER=no
|
||||
HAVE_VP8_DECODER=no
|
||||
|
||||
OLD_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lm -lpthread"
|
||||
AC_CHECK_LIB(vpx, vpx_codec_vp8_cx_algo, [
|
||||
HAVE_VP8=yes
|
||||
AC_DEFINE(HAVE_VP8_ENCODER, 1, [Defined if the VP8 encoder is available])
|
||||
|
@ -1497,6 +1500,7 @@ AG_GST_CHECK_FEATURE(VP8, [VP8 decoder], vp8, [
|
|||
AC_DEFINE(HAVE_VP8_DECODER, 1, [Defined if the VP8 decoder is available])
|
||||
VPX_LIBS="-lvpx"
|
||||
])
|
||||
LIBS="$OLD_LIBS"
|
||||
])
|
||||
AC_SUBST(VPX_LIBS)
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue