[Scons-users] dereferencing variable

Dirk Bächle tshortik at gmx.de
Sun Jun 23 15:38:50 EDT 2013


Hi Philipp,

On 23.06.2013 21:25, Philipp Kraus wrote:

> Hello,

>

> how can I dereferencing a variable of the env. I would like to use env["SHLIBPREFIX"] but it is set to $LIBPREFIX, so how can I get the "real string" value?


you can use

env.subst("$SHLIBPREFIX")

for this.

Regards,

Dirk



More information about the Scons-users mailing list