How to include curl.lib?

Head Scratcher filter at stumped.com
Thu Jan 17 20:05:27 UTC 2019


On Monday, 14 January 2019 at 18:45:27 UTC, Head Scratcher wrote:
> The following text is in the source code for curl.d:
>
> Windows x86 note:
> A DMD compatible libcurl static library can be downloaded from 
> the dlang.org
> $(LINK2 http://downloads.dlang.org/other/index.html, download 
> archive page).
>
> I downloaded that static library. How do I link it into my D 
> project?  Is it something I can put into dub.json?

It would be nice to compile my app into one EXE file including 
std.curl and curl.lib. Does nobody know how to do this?


More information about the Digitalmars-d-learn mailing list