request assistance resolving curl related linker error
Vladimir Panteleev via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 18 20:37:23 PDT 2014
On Tuesday, 19 August 2014 at 02:24:48 UTC, ketmar via
Digitalmars-d-learn wrote:
> On Tue, 19 Aug 2014 09:56:30 +0900
> Andrew Edwards via Digitalmars-d-learn
> <digitalmars-d-learn at puremagic.com> wrote:
>
>> > Add '-L-lcurl' to your dmd invocation to do this.
>> Okay, got it. Thank you much.
> or you can add
>
> pragma(lib, "curl");
>
> to your source file if you are using dmd.
And Windows. Since, apparently, pragma(lib) is only supported by
COFF and OMF.
More information about the Digitalmars-d-learn
mailing list