Commit 19ac4fcc authored by Sam Hocevar's avatar Sam Hocevar

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).
parent 78a9d6fd
...@@ -275,6 +275,9 @@ case "${host_os}" in ...@@ -275,6 +275,9 @@ case "${host_os}" in
AC_CHECK_TOOL(WINDRES, windres, :) AC_CHECK_TOOL(WINDRES, windres, :)
case "${host_os}" in case "${host_os}" in
*wince* | *mingwce* | *mingw32ce* | *pe*)
SYS=mingwce
;;
*mingw32*) *mingw32*)
SYS=mingw32 SYS=mingw32
;; ;;
...@@ -287,9 +290,6 @@ case "${host_os}" in ...@@ -287,9 +290,6 @@ case "${host_os}" in
#endif], #endif],
SYS=mingw32, SYS=cygwin) SYS=mingw32, SYS=cygwin)
;; ;;
*wince* | *mingwce* | *pe*)
SYS=mingwce
;;
esac esac
if test "${SYS}" = "mingw32"; then if test "${SYS}" = "mingw32"; then
...@@ -304,7 +304,7 @@ case "${host_os}" in ...@@ -304,7 +304,7 @@ case "${host_os}" in
# add ws2 for closesocket, select, recv # add ws2 for closesocket, select, recv
VLC_ADD_CPPFLAGS([libvlc vlc],[-Dmain(a,b)=maince(a,b)]) VLC_ADD_CPPFLAGS([libvlc vlc],[-Dmain(a,b)=maince(a,b)])
VLC_ADD_LDFLAGS([libvlc vlc],[-e WinMainCRTStartup]) 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]) VLC_ADD_LIBS([libvlc],[-lmmtimer])
fi fi
;; ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment