[gnutls-dev] Re: gnutls 1.2.8 and mingw32

Enrico Tassi gareuselesinge at users.sourceforge.net
Mon Oct 24 19:08:47 CEST 2005


On Mon, Oct 24, 2005 at 05:31:22PM +0200, Werner Koch wrote:
> > 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.

thanks!

> We use this in gpg and other software for years.  The Debian mingw32
> packages works just fine - you are using Sid, right? 

sure.

Is there a way to build a "stub" libwsock32.dll with libtool so that
there is no need of hacking configure.in and Makefile.am?

thanks
-- 
Enrico Tassi



More information about the Gnutls-dev mailing list