bugfixes
[swftools.git] / m4 / mingw.m4
index 6235296..3486ba4 100644 (file)
@@ -12,7 +12,7 @@ case $host_os in
 esac
 
 AR=ar
-if test "x$MINGW" == "xyes"; then
+if test "x$MINGW" = "xyes"; then
     #fix for the debian distribution of mingw
     if test -x "/usr/i586-mingw32msvc/bin/ar";then
        AR="/usr/i586-mingw32msvc/bin/ar"
@@ -43,7 +43,7 @@ else
        AC_DEFINE_UNQUOTED(MINGW, 1)
        WIN32=1
        AC_DEFINE_UNQUOTED(WIN32, 1)
-       LIBS="$LIBS -lws2_32"
+       LIBS="$LIBS -lws2_32 -lgdi32"
        AC_MSG_RESULT(mingw)
     else
        LINUX=1