mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
configure: Check for socketpair() in -lsocket too
On e.g. QNX it is in an external library, not libc. https://bugzilla.gnome.org/show_bug.cgi?id=754875
This commit is contained in:
parent
eb88486288
commit
6972e7a926
2 changed files with 9 additions and 0 deletions
|
@ -620,6 +620,14 @@ AC_CHECK_FUNCS([poll])
|
|||
AC_CHECK_FUNCS([ppoll])
|
||||
AC_CHECK_FUNCS([pselect])
|
||||
|
||||
dnl check for socketpair()
|
||||
AC_CHECK_FUNC(socketpair, [], [
|
||||
AC_CHECK_LIB(socket, socketpair, [
|
||||
SOCKET_LIBS="-lsocket"
|
||||
AC_SUBST(SOCKET_LIBS)
|
||||
])
|
||||
])
|
||||
|
||||
dnl ****************************************
|
||||
dnl *** GLib POLL* compatibility defines ***
|
||||
dnl ****************************************
|
||||
|
|
|
@ -151,6 +151,7 @@ libgstreamer_@GST_API_VERSION@_la_LIBADD = \
|
|||
$(GST_PRINTF_LA) \
|
||||
$(GST_ALL_LIBS) \
|
||||
$(WIN32_LIBS) \
|
||||
$(SOCKET_LIBS) \
|
||||
$(LIBM)
|
||||
|
||||
libgstreamer_@GST_API_VERSION@_la_LDFLAGS = \
|
||||
|
|
Loading…
Reference in a new issue