added optional environment passthrough for MacOS 10.13 compatibility (#31500)

This commit is contained in:
Jordan Borean 2017-10-10 08:41:06 +10:00 committed by GitHub
parent f2bc89a880
commit 665d838fc2

View file

@ -208,6 +208,9 @@ def common_environment():
'HTTPTESTER',
'LD_LIBRARY_PATH',
'SSH_AUTH_SOCK',
# MacOS High Sierra Compatibility
# http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html
'OBJC_DISABLE_INITIALIZE_FORK_SAFETY',
)
env.update(pass_vars(required=required, optional=optional))