CURL question on ubuntuforums.org

Jacob Carlborg doob at me.com
Thu Jan 5 05:41:33 PST 2012


On 2012-01-05 11:00, Nick Sabalausky wrote:
> "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).

Isn't that what it's supposed to do, just forward the lib to the linker?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list