Linking to static libraries

H. S. Teoh hsteoh at quickfur.ath.cx
Thu May 10 12:09:06 PDT 2012


On Thu, May 10, 2012 at 09:00:02PM +0200, Minas wrote:
> I figured it out, this is the correct:
> 
> -L-L/usr/lib/Derelict2 -L-lDerelictSDL -L-lDerelictUtil -L-ldl
> 
> I don't know why, but the dl library is needed. Thank you for your
> help.

This is most likely because Derelict uses dynamic loading of modules at
runtime.


T

-- 
If the comments and the code disagree, it's likely that *both* are wrong. -- Christopher


More information about the Digitalmars-d-learn mailing list