[Scons-users] dereferencing variable

Philipp Kraus philipp.kraus at flashpixx.de
Sun Jun 23 15:55:06 EDT 2013



Am 23.06.2013 um 21:38 schrieb Dirk Bächle:


> 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.


Perfect thank :-P

Phil


More information about the Scons-users mailing list