[Scons-users] Hello. Question about Configure and the execution environment.

Timothee Besset ttimo at ttimo.net
Sat Feb 2 19:17:13 EST 2013


Hello, been a while, how's everyone :)

I'm trying to use the Configure() statements and running into a problem:

- I have sdl2-config, but it's not on the default path

- I can add it to the PATH in the shell and use 'ENV = os.environ' when
constructing my Environment, like this:

import os
env = Environment( ENV = os.environ )
env.ParseConfig( 'sdl2-config --cflags --libs' )

- But, this doesn't seem possible if I want to use a Configure object? E.g.
I am not able to implement the 'CheckPKG' solution described at
http://www.scons.org/wiki/UsingPkgConfig

Any way to have Configure() work the same as Environment with ENV =
os.environ?

Best,
TTimo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130202/e34dbff9/attachment.htm>


More information about the Scons-users mailing list