[Issue 12572] pragma(lib, "curl") and -Lcurl broken

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jan 25 18:32:09 PST 2015


https://issues.dlang.org/show_bug.cgi?id=12572

--- Comment #5 from Vladimir Panteleev <thecybershadow at gmail.com> ---
> https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1001576

Thanks, this pointed me in the right direction, and I figured out the following
system-wide workaround:

# echo 'gcc -Wl,--no-as-needed $*' > /usr/local/bin/gcc-dmd
# chmod 755 /usr/local/bin/gcc-dmd
# echo 'CC=/usr/local/bin/gcc-dmd' >> /etc/dmd.conf

--


More information about the Digitalmars-d-bugs mailing list