[2.061] -unittest => /usr/bin/ld: cannot find -lcurl
Philippe Sigaud
philippe.sigaud at gmail.com
Fri Jan 4 07:10:20 PST 2013
On Friday, 4 January 2013 at 14:35:26 UTC, David Nadlinger wrote:
> The std.traits unittests apparently import etc.c.curl, which
> features a »pragma(lib, "curl");« declaration. Should be easy
> to swap it out for another module that doesn't produce any
> unintended side effects.
Why does it activate for rdmd and not when compiling and running
with DMD?
Ah, maybe I get it: when it invokes dmd with the --deps flag, I
guess DMD activates the pragma, even in unit tests.
I made a bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=9269
More information about the Digitalmars-d
mailing list