www.pudn.com > clamwin-0.85.1-src.zip > configure.patch


--- configure	2004-11-19 17:06:41.575347200 +1100
+++ configure.new	2004-11-19 17:09:55.634390400 +1100
@@ -10367,6 +10367,14 @@
     fi
 fi
 
+case $host_os in
+cygwin*)
+# add -lgdi32 -lwinmm for cygwin 
+# (maybe we need to include  | mingw* | pw32* as well
+	LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgdi32 -lwinmm";
+esac
+
+
 want_bzip2="yes"
 # Check whether --enable-bzip2 or --disable-bzip2 was given.
 if test "${enable_bzip2+set}" = set; then