"Yaakov S (Cygwin Ports)" wrote: > # Libraries that this one depends upon. > dependency_libs=' -L/usr/lib -lssl -lcrypto -lgdi32 -lwinmm -lz' > > Libtool hence will unnecessarily require w32api to be installed in order > to link with these two. So I'd still say that they need to be avoided.
Well if you don't have w32api installed then you won't be able to compile anything. Even for the most trivial of windows programs you'd need -luser32 and -lkernel32. That aside, I do agree that it's ugly and unnecessary. So I patched configure.ac to not add those when building for Cygwin. New -3 packages listed below (sans build logs in -src package.) BTW, the current curl package has these extraneous -lgdi32 -lwinmm flags as well, so it appears to have always been this way. http://dessent.net/cygwin/release/curl/curl-7.15.0-3.tar.bz2 http://dessent.net/cygwin/release/curl/curl-7.15.0-3-src.tar.bz2 http://dessent.net/cygwin/release/curl/curl-devel/curl-devel-7.15.0-3.tar.bz2 http://dessent.net/cygwin/release/curl/libcurl3/libcurl3-7.15.0-3.tar.bz2 Brian