How to statically link Derelict SDL2 satellite libs

eskaypeee eskaypee at example.com
Thu Dec 14 16:43:12 UTC 2017


On Thursday, 14 December 2017 at 15:43:22 UTC, Mike Parker wrote:
> Should be:
>
> "libs" : [ "SDL2_image", "SDL2"]

Thank you, it now works. I think I did try that but in lower 
case, which didn't work. I was following the example dub file on 
this page: http://derelictorg.github.io/packages/sdl2/ which uses 
lower case...

  "libs": ["sdl2"]

However, I now find that I can reference that core library in 
upper or lower case in dub.json whereas 'SDL2_image' has to be in 
that precise case. Maybe something to do with symlinks on my 
computer...?


More information about the Digitalmars-d-learn mailing list