CURL question on ubuntuforums.org

Nick Sabalausky a at a.a
Thu Jan 5 02:00:40 PST 2012


"Joshua Reusch" <yoschi at arkandos.de> wrote in message 
news:je26q8$19oo$1 at digitalmars.com...
>
> OT: Why does dmd ignore the pragma(lib, ...) in the etc.c.curl module 
> while rdmd seems to recognize it?

What I think is happening:

The pragma(lib, ...) causes DMD's -deps=filename option to include the 
library file in the dependency list that gets output. RDMD takes that list 
and sends everything in it back to DMD on the command line. Apperently, DMD 
is only forwarding libs to the linker when it receives them on the command 
line (though I don't know why, sounds like a bug to me). 




More information about the Digitalmars-d mailing list