[gnutls-dev] Re: gnutls 1.2.8 and mingw32
Werner Koch
wk at gnupg.org
Mon Oct 24 17:31:22 CEST 2005
On Mon, 24 Oct 2005 16:09:13 +0200, Enrico Tassi said:
> there is no dll for wsock32.dll so I had to hack the libtool/configure
> just to add the proper -l option (I'm not an autotools guru, so maybe
> the solution was cleaner). In mingw I have only wsock32.a that, if
Put this into configure.ac:
case "${host}" in
*-mingw32*)
W32LIBS="-lwsock32"
;;
*)
;;
esac
AC_SUBST(W32LIBS)
and this:
LDADD = $(other_libs) $(W32LIBS)
into the Makefile.am.
We use this in gpg and other software for years. The Debian mingw32
packages works just fine - you are using Sid, right?
Shalom-Salam,
Werner
More information about the Gnutls-devel
mailing list