On Monday, 13 March 2017 at 10:11:35 UTC, Mike Parker wrote:
On Monday, 13 March 2017 at 06:48:01 UTC, Joakim wrote:
[...]
The alpha release of DerelictSDL2 3.0 supports static linking.
When compiling manually, it requires
-version=DerelictSDL_static on the command line and all files
matching "derelict/sdl2/internal/*_dyn*.d" should be excluded
from the build.
When building DerelictSDL2 with DUB, specifying
-cderelict-sdl2-static gets the job done, or the same can be
added as a subConfiguration value in a project's dub.json/sdl
file.
thanks for advices!! :-)