mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
configure: add pthread to the configure check for openh264
This commit is contained in:
parent
a4d8efde0f
commit
ca5971850d
1 changed files with 3 additions and 0 deletions
|
@ -2573,8 +2573,11 @@ dnl *** openh264 ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENH264, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENH264, true)
|
||||||
AG_GST_CHECK_FEATURE(OPENH264, [openh264 library], openh264, [
|
AG_GST_CHECK_FEATURE(OPENH264, [openh264 library], openh264, [
|
||||||
HAVE_OPENH264="yes"
|
HAVE_OPENH264="yes"
|
||||||
|
saved_LIBS="$LIBS"
|
||||||
|
LIBS="-lpthread $LIBS"
|
||||||
AG_GST_CHECK_LIBHEADER(OPENH264, openh264, WelsSnprintf, ,wels/codec_api.h,
|
AG_GST_CHECK_LIBHEADER(OPENH264, openh264, WelsSnprintf, ,wels/codec_api.h,
|
||||||
OPENH264_LIBS="-lopenh264", HAVE_OPENH264="no")
|
OPENH264_LIBS="-lopenh264", HAVE_OPENH264="no")
|
||||||
|
LIBS=$saved_LIBS
|
||||||
AC_SUBST(OPENH264_LIBS)
|
AC_SUBST(OPENH264_LIBS)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue