use new scons convention for pushing environment vars into construction env object
git-svn-id: svn://localhost/ardour2/branches/3.0@4871 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b3c3d932cd
commit
c611b548ec
@ -424,9 +424,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']
|
||||
|
Loading…
Reference in New Issue
Block a user