[Bug 754875] configure.ac: no socketpair() check causes unresolved reference
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Sep 11 07:11:50 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754875
--- Comment #4 from d_garry at mail.ru ---
Sure, you're right.
diff -crBN gstreamer-1.5.90.orig/configure.ac gstreamer-1.5.90/configure.ac
*** gstreamer-1.5.90.orig/configure.ac 2015-08-19 11:41:23.000000000 +0300
--- gstreamer-1.5.90/configure.ac 2015-09-11 17:05:21.121516897 +0300
***************
*** 620,625 ****
--- 620,633 ----
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 ****************************************
diff -crBN gstreamer-1.5.90.orig/gst/Makefile.am
gstreamer-1.5.90/gst/Makefile.am
*** gstreamer-1.5.90.orig/gst/Makefile.am 2015-06-19 16:01:53.000000000
+0300
--- gstreamer-1.5.90/gst/Makefile.am 2015-09-11 17:04:55.657519301 +0300
***************
*** 151,156 ****
--- 151,157 ----
$(GST_PRINTF_LA) \
$(GST_ALL_LIBS) \
$(WIN32_LIBS) \
+ $(SOCKET_LIBS) \
$(LIBM)
libgstreamer_ at GST_API_VERSION@_la_LDFLAGS = \
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list