Configuring of dub for the application reading enviroment variable

rikki cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 30 04:09:37 PDT 2016


On 30/09/2016 11:31 PM, MGW wrote:
> My STARTING application shall read the enviroment variable.
> For example MY_VARIABLE= "I'm Gena".
> The MY_VARIABLE variable needs to be set in dub.json so
> what she would be visible in case of start of my application.
> Purpose: to set LD_LIBRARY_PATH having specified a certain directory in
> dub packet.
>
> Please, write an example of dub.json for it.

There is no way to do this.



More information about the Digitalmars-d-learn mailing list