cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Building and using static libcurl on Windows with VS2008

From: Karl M <karlm30_at_hotmail.com>
Date: Mon, 12 Jan 2009 21:26:09 -0800

Hi All...> Date: Mon, 12 Jan 2009 23:16:27 +0000> Subject: Re: Building and using static libcurl on Windows with VS2008> > > +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?
 
I just tried it with only ws2_32 and it worked fine, so I agree with your observation.
 
Attached is a patch against the snapshots to correct this.
 
Thanks,
 
...Karl
_________________________________________________________________
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_howitworks_012009

Received on 2009-01-13