[vlc-devel] commit: Minor mingw32ce build fixes. (Sam Hocevar )

git version control git at videolan.org
Mon Apr 7 17:14:09 CEST 2008


vlc | branch: master | Sam Hocevar <sam at zoy.org> | Tue Mar 25 18:08:22 2008 +0100| [19ac4fcc2941e629dab5ee83c00686f1fb583e43]

Minor mingw32ce build fixes.

Added "mingw32ce" as a possible host_os name, and linked more plugins with
-lws2 (namely audioscrobbler, growl, rtp and stream_out_rtp).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19ac4fcc2941e629dab5ee83c00686f1fb583e43
---

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 34846ea..e584711 100644
--- a/configure.ac
+++ b/configure.ac
@@ -275,6 +275,9 @@ case "${host_os}" in
     AC_CHECK_TOOL(WINDRES, windres, :)
 
     case "${host_os}" in
+      *wince* | *mingwce* | *mingw32ce* | *pe*)
+        SYS=mingwce
+        ;;
       *mingw32*)
         SYS=mingw32
         ;;
@@ -287,9 +290,6 @@ case "${host_os}" in
              #endif],
             SYS=mingw32, SYS=cygwin)
         ;;
-      *wince* | *mingwce* | *pe*)
-        SYS=mingwce
-        ;;
     esac
 
     if test "${SYS}" = "mingw32"; then
@@ -304,7 +304,7 @@ case "${host_os}" in
         # add ws2 for closesocket, select, recv
         VLC_ADD_CPPFLAGS([libvlc vlc],[-Dmain(a,b)=maince(a,b)])
         VLC_ADD_LDFLAGS([libvlc vlc],[-e WinMainCRTStartup])
-        VLC_ADD_LIBS([libvlc access_http access_mms access_udp access_tcp access_ftp access_rtmp access_output_udp sap http netsync],[-lws2])
+        VLC_ADD_LIBS([libvlc access_http access_mms access_udp access_tcp access_ftp access_rtmp access_output_udp sap http netsync audioscrobbler growl rtp stream_out_rtp],[-lws2])
         VLC_ADD_LIBS([libvlc],[-lmmtimer])
    fi
     ;;




More information about the vlc-devel mailing list