Index: build/mac_toolchain.py |
diff --git a/build/mac_toolchain.py b/build/mac_toolchain.py |
index b57c8159a32aa0d4933d6da35298a934d5beeb3e..1da6cb59c73c938019ee4d8cef8378b783c2c873 100755 |
--- a/build/mac_toolchain.py |
+++ b/build/mac_toolchain.py |
@@ -44,6 +44,12 @@ def GetToolchainDirectory(): |
return None |
+def SetToolchainEnvironment(): |
+ mac_toolchain_dir = GetToolchainDirectory() |
+ if mac_toolchain_dir: |
+ os.environ['DEVELOPER_DIR'] = mac_toolchain_dir |
+ |
+ |
def ReadStampFile(): |
"""Return the contents of the stamp file, or '' if it doesn't exist.""" |
try: |