Message158278
| Author |
sbt |
| Recipients |
amaury.forgeotdarc, asksol, brian.curtin, gregory.p.smith, jnoller, kristjan.jonsson, pitrou, santoso.wijaya, sbt, tim.golden |
| Date |
2012年04月14日.19:57:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334433433.5.0.41864471117.issue11750@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I don't think we need the vcproj file, unless I missed something.
_multiprocessing.win32 currently wraps closesocket(), send() and recv() so it needs to link against ws2_32.lib.
I don't know how to make _windows link against ws2_32.lib without adding a vcproj file for _windows unless we make pythoncore depend on ws2_32.lib. I presume this is why _socket and _select have their own vcproj files.
Maybe the socket functions could be moved directly to the top level of _multiprocessing instead since they are not really win32 functions. (And I suppose if that does not happen then _multiprocessing should also stop linking against ws2_32.lib.)
BTW why does _select link against wsock32.lib instead of ws2_32.lib? |
|