Thread overview
pragma(lib, "name") for .di files
Aug 12, 2011
mimocrocodil
Aug 13, 2011
Jesse Phillips
Aug 13, 2011
Jacob Carlborg
August 12, 2011
Why pragma(lib, "name"); for .di files does not causes adding -lname to
the linker command line?

For .d it works.

(Compiler is DMD)
August 13, 2011
On Fri, 12 Aug 2011 19:30:29 +0000, mimocrocodil wrote:

> Why pragma(lib, "name"); for .di files does not causes adding -lname to
> the linker command line?
> 
> For .d it works.
> 
> (Compiler is DMD)

I'm unsure I understand the question.

.di files can not be compiled, they only describe what can be found in the library and require the library. .d files on the other hand can be compiled and thus there is no need for a library to exist.
August 13, 2011
On 2011-08-12 21:30, mimocrocodil wrote:
> Why pragma(lib, "name"); for .di files does not causes adding -lname to
> the linker command line?
>
> For .d it works.
>
> (Compiler is DMD)

http://d.puremagic.com/issues/show_bug.cgi?id=2776

-- 
/Jacob Carlborg