rtmp: link to winsock library on Windows
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 17 Apr 2012 07:44:18 +0000 (11:44 +0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 5 May 2012 15:22:59 +0000 (16:22 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=674243

configure.ac

index 448790a..7245533 100644 (file)
@@ -411,8 +411,10 @@ AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes")
 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
   DCCP_LIBS="$DCCP_LIBS -lws2_32"
   XDG_LIBS="$XDG_LIBS -lws2_32"
+  RTMP_LIBS="$RTMP_LIBS -lws2_32"
   AC_SUBST(DCCP_LIBS)
   AC_SUBST(XDG_LIBS)
+  AC_SUBST(RTMP_LIBS)
 fi
 
 if test "x$HAVE_PTHREAD_H" = "xyes"; then