]> git.mxchange.org Git - flightgear.git/commitdiff
Norman Vine:
authorcurt <curt>
Tue, 17 Dec 2002 20:03:45 +0000 (20:03 +0000)
committercurt <curt>
Tue, 17 Dec 2002 20:03:45 +0000 (20:03 +0000)
Fixes for Mingwin.

configure.ac

index a06ee82418a720095ed855ff8e028d055271fa67..18ae4dc117f4bb8b37e25d19579c59ff1431ea8b 100644 (file)
@@ -184,11 +184,6 @@ null_LIBS="$LIBS"
 
 AC_CHECK_LIB(m, cos)
 
-dnl MINGW requires libwsock32
-if test  "x$is_mingw" = "xyes" ; then
-    LIBS="$LIBS -lws2_32"
-fi
-
 base_LIBS="$LIBS"
 
 dnl Thread related checks
@@ -224,7 +219,8 @@ case "${host}" in
     dnl add -lwsock32 for mingwin
     case "${host}" in
     *-*-mingw32*)
-        LIBS="$LIBS -lws2_32"
+        echo "********** BUILDING FOR MINGW32 *************"
+        base_LIBS="$base_LIBS -lws2_32"
         ;;
     esac