wutingcindy / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Mac make generator: broken if SDKROOT is specified but not MACOSX_DEPLOYMENT_TARGET #245

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The lazy "fix" is to specify a default value of "10.5" for the deployment 
target. But this is wrong.

xcodebuild automatically fills in MACOSX_DEPLOYMENT_TARGET from SDKROOT (so if 
the latter is "macosx10.6", it'll put "10.6" for the deployment target).

Original issue reported on code.google.com by viettrun...@chromium.org on 19 Jan 2012 at 9:37