mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-18 03:15:52 +01:00
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:
parent
9695e68ade
commit
6db73751df
1 changed files with 2 additions and 0 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue