Index: tools/gyp/xcode.gypi |
diff --git a/tools/gyp/xcode.gypi b/tools/gyp/xcode.gypi |
index 6197887d6faf1bee3563a4fbef76cd0db936de8a..1c0faff247baa7c5f9bcdb747a70dcdaf23034d1 100644 |
--- a/tools/gyp/xcode.gypi |
+++ b/tools/gyp/xcode.gypi |
@@ -52,5 +52,11 @@ |
# Perhaps we should set it to @rpath instead. See |
# http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/RunpathDependentLibraries.html#//apple_ref/doc/uid/TP40008306-SW1 |
'INSTALL_PATH': '$(TARGET_BUILD_DIR)', |
+ |
+ # This must go here because mac_deployment_target is defined in this file, |
+ # which is only included on mac, and configurations_xcode.gypi is included |
+ # on all platforms, so it would be an undefined variable there. |
+ # Move this to configurations_xcode if we start including it only on mac. |
+ 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
}, |
} |