On 6/25/15 3:51 PM, bachmeier wrote:
On Thursday, 25 June 2015 at 18:29:23 UTC, Ali Çehreli wrote:

D has the pragma(lib) feature where you can tell the compiler to link
with a specific library as well. For example:

  pragma(lib, "curl");

You would probably use "sndfile" in your case (not sure):

  pragma(lib, "sndfile");


This is the first time I've heard of pragma(lib). It's a nice feature
that should be added to the compiler documentation.

http://dlang.org/pragma.html#lib

It's got some problems though. Not everyone's system is the same.

-Steve

Reply via email to