[Issue 12572] pragma(lib, "curl") and -Lcurl broken
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jan 25 18:29:54 PST 2015
https://issues.dlang.org/show_bug.cgi?id=12572
--- Comment #4 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to AndyC from comment #3)
> It works fine for me on Slackware.
>
> I think this is an Ubuntu bug:
I think it's just that Slackware doesn't use --as-needed.
> https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1001576
>
> I think they are recommending getting the proper compile flags with:
>
> curl-config --cc --cflags
> and
> curl-config --libs
This might fix curl, but doesn't fix the general case - especially when linking
D libraries with C libraries with e.g. dub.
--
More information about the Digitalmars-d-bugs
mailing list