]> git.sesse.net Git - vlc/commitdiff
Link ipv4 with iphlpapi - closes #315
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 14 Aug 2005 17:28:28 +0000 (17:28 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 14 Aug 2005 17:28:28 +0000 (17:28 +0000)
configure.ac

index 351c8fd94eb153e4ec7a174531d5cf7cd3fe4732..413400776b2ac9879454c8f9995f67b6055e370b 100644 (file)
@@ -167,6 +167,7 @@ case "${target_os}" in
         VLC_ADD_LDFLAGS([vlc],[-lws2_32 -lnetapi32 -lwinmm -mwindows])
         VLC_ADD_LDFLAGS([vcdx cddax],[-lwinmm])
         VLC_ADD_LDFLAGS([ipv4 ipv6 access_http access_mms access_udp access_tcp access_ftp access_output_udp sap slp http stream_out_standard stream_out_rtp vod_rtsp telnet netsync],[-lws2_32])
+        VLC_ADD_LDFLAGS([ipv4],[-liphlpapi])
     fi
     if test "${SYS}" = "mingwce"; then
         # add ws2 for closesocket, select, recv
@@ -174,7 +175,8 @@ case "${target_os}" in
         VLC_ADD_CPPFLAGS([vlc],[-Dmain(a,b)=maince(a,b)])
         VLC_ADD_LDFLAGS([vlc],[-lws2 -e WinMainCRTStartup])
         VLC_ADD_LDFLAGS([ipv4 ipv6 access_http access_mms access_udp access_tcp access_ftp access_output_udp sap http netsync],[-lws2])
-    fi
+         VLC_ADD_LDFLAGS([ipv4],[-liphlpapi])
+   fi
     ;;
   *nto*)
     SYS=nto