cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: linking statically on windows /mingw

From: Andres Garcia <fandom_at_telefonica.net>
Date: Sat, 30 Sep 2006 01:12:03 +0200

> Now the error is :
>
> ../../../lib/Win32/libcurl.a(timeval.o):timeval.c:(.text+0x8): undefined
> reference to `timeGetTime_at_0'

That should be in libwinmm.a

Anyway, if you had msys you could do:

./configure --enable-shared=no
make
make install-strip

And you would get the static binary in /usr/local/bin which you
could then use outside the msys enviroment.

Andrés
Received on 2006-09-30