use new scons convention for pushing environment vars into construction env object

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4868 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-03-19 12:58:10 +00:00
parent 9695e68ade
commit 6db73751df

View file

@ -401,9 +401,11 @@ env.Append (BUILDERS = {'Tarball' : tarball_bld})
def pushEnvironment(context):
if os.environ.has_key('PATH'):
context.Append(PATH = os.environ['PATH'])
context.['ENV']['PATH'] = os.environ['PATH'])
if os.environ.has_key('PKG_CONFIG_PATH'):
context.Append(PKG_CONFIG_PATH = os.environ['PKG_CONFIG_PATH'])
context.['ENV']['PKG_CONFIG_PATH'] = os.environ['PKG_CONFIG_PATH'])
if os.environ.has_key('CC'):
context['CC'] = os.environ['CC']