]> git.sesse.net Git - vlc/commitdiff
* ./configure.ac.in: moved an extra -lws2_32 to a win32 specific case.
authorSam Hocevar <sam@videolan.org>
Mon, 10 Mar 2003 17:12:08 +0000 (17:12 +0000)
committerSam Hocevar <sam@videolan.org>
Mon, 10 Mar 2003 17:12:08 +0000 (17:12 +0000)
configure.ac.in

index e617b1078f962f101806f209ac6bb1d68fc5a4c3..95ad0a0afbcf93e6c2d97419610616939cf6cba0 100644 (file)
@@ -130,6 +130,7 @@ case "x${target_os}" in
         LDFLAGS_access_ftp="${LDFLAGS_access_ftp} -lws2_32"
         LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lws2_32"
         LDFLAGS_sap="${LDFLAGS_sap} -lws2_32"
+        LDFLAGS_slp="${LDFLAGS_slp} -lws2_32"
         LDFLAGS_httpd="${LDFLAGS_httpd} -lws2_32"
     fi
     ;;
@@ -2607,9 +2608,6 @@ then
     then
       PLUGINS="${PLUGINS} slp"
       LDFLAGS_slp="${LDFLAGS_slp} -lslp"
-      if test "x${SYS}" != "xmingw32"; then
-        LDFLAGS_slp="${LDFLAGS_slp} -lws2_32"
-      fi
     fi
   else
     AC_MSG_CHECKING(for slp headers in ${with_slp})
@@ -2619,9 +2617,6 @@ then
       AC_MSG_RESULT(yes)
       PLUGINS="${PLUGINS} slp"
       LDFLAGS_slp="${LDFLAGS_slp} -L${with_slp} -lslp"
-      if test "x${SYS}" != "xmingw32"; then
-        LDFLAGS_slp="${LDFLAGS_slp} -lws2_32"
-      fi
       CPPFLAGS_slp="${CPPFLAGS_slp} -I${with_slp}"
     else
       dnl  No libslp could be found, sorry