]> git.sesse.net Git - vlc/commitdiff
Minor mingw32ce build fixes.
authorSam Hocevar <sam@zoy.org>
Tue, 25 Mar 2008 17:08:22 +0000 (18:08 +0100)
committerSam Hocevar <sam@zoy.org>
Mon, 7 Apr 2008 14:51:51 +0000 (16:51 +0200)
Added "mingw32ce" as a possible host_os name, and linked more plugins with
-lws2 (namely audioscrobbler, growl, rtp and stream_out_rtp).

configure.ac

index 34846ea17079f993d48244f25f309dbd0be7a20b..e5847113e175bd588bc818118b0236ab1cd40a54 100644 (file)
@@ -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
     ;;