Can i using D & LLVM & SDL2 for Android?

dummy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 13 03:57:55 PDT 2017


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!! :-)


More information about the Digitalmars-d-learn mailing list