GNOME Bugzilla – Bug 674243
rtmp: fix build on windows, link against winsock library
Last modified: 2012-05-05 18:22:02 UTC
rtmp requires libws2_32 and libwinmm when compiled on W32
Created attachment 212190 [details] [review] Add necessary LIBS to the linker
The patch is kinda crude.
Removed libwinmm, since only libws2_32 should be needed (and even that should really be done inside librtmp). Use RTMP_LIBS directly, as for other plugins. For consistency, not because it's the best thing to do. Fixed typo in GSTRTMP_LIBS="$GSTTRMP_LIBS .. Thanks for the patch! commit e4ec3e4bd70c4dabdeb7883101cd14ee43ec5e17 Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Tue Apr 17 11:44:18 2012 +0400 rtmp: link to winsock library on Windows https://bugzilla.gnome.org/show_bug.cgi?id=674243
Let's try this again: commit b87f7345db2c998e37eae350ad880a2bb0d0f4cd Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Sat May 5 18:20:33 2012 +0100 Add WINSOCK2_LIBS, remove WIN32_LIBS, fix rtmp build on Windows some more One way of passing -lws2_32 to plugins should be enough..