Files
mongo/site_scons/site_tools/xcode.py

13 lines
326 B
Python
Raw Normal View History

import os
def exists(env):
return env.Detect('xcrun')
def generate(env):
if not exists(env):
return
if 'DEVELOPER_DIR' in os.environ:
env['ENV']['DEVELOPER_DIR'] = os.environ['DEVELOPER_DIR']
2019-02-19 10:50:57 -05:00
print("NOTE: Xcode detected; propagating DEVELOPER_DIR from shell environment to subcommands")