DlangUI on Android

Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Apr 22 07:37:06 PDT 2016


On Friday, 22 April 2016 at 13:41:52 UTC, Mike Parker wrote:
> I was late, but I have since gotten this taken care of, so it's 
> all golden.
>
> FYI, for anyone facing a similar problem in the future and is 
> hung up waiting on me to merge a pull request, the base loader 
> in DerelictUtil allows overriding the default library names. So 
> instead of a library like DLangUI requiring a patched Derelict 
> package, you could do this:
>
> version(Derelict_OS_Android)
>     DerelictFT.load("libft2.so");
>
> You can pass multiple library names as a single, 
> comma-separated string:
>
> DerelictFT.load("libft2.so,libfreetype.so");
>
> Or as an array (which is what the above is converted to 
> internally anyway):
>
> DerelictFT.load(["libft2.so", "libfreetype.so"]);

Thank you for your help! I've updated dlangui dub.json with 
latest DerelictFT.



More information about the Digitalmars-d-announce mailing list