curl-library
Re: Building and using static libcurl on Windows with VS2008
From: Jamie Lokier <jamie_at_shareable.org>
Date: Mon, 12 Jan 2009 23:16:27 +0000
Date: Mon, 12 Jan 2009 23:16:27 +0000
> +vc9:
> + @echo "generate VC9 makefiles"
> + @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" lib/Makefile.vc6 > lib/Makefile.vc9
> + @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" src/Makefile.vc6 > src/Makefile.vc9
That links to wsock32.lib (Winsock 1.1) and ws2_32.lib (Winsock 2)
and looks wrong to me, even if it works.
Shouldn't it link only to one or the other?
-- Jamie
Received on 2009-01-13