Bug 8756 – Add link to location of curl static library
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-10-04T09:46:00Z
Last change time
2014-05-06T18:46:36Z
Keywords
pull
Assigned to
andrej.mitrovich
Creator
andrej.mitrovich
Comments
Comment #0 by andrej.mitrovich — 2012-10-04T09:46:58Z
These links should probably be added to std.net.curl and etc.c.curl:
http://curl.haxx.se/download.html#Win32http://curl.haxx.se/download.html#Win64
Also, a small guide on how to actually make the import lib:
implib curl.lib libcurl.dll /s
Another issue, why are we using the non-portable pragma(lib) syntax? Not only does it not work across compilers, but it's also hardcoded to "curl.lib". If you have a build for multiple architectures (-m64/-m32) you will have separate import libs to the x32/x64 versions of the curl DLL.
I think we should remove the pragma and add a note in the docs on how to link with the import lib. It's as simple as passing the import lib on the command-line on Windows+DMD, or using e.g. -lcurl via GDC.
Comment #1 by andrej.mitrovich — 2014-04-24T18:54:52Z