Merge pull request #28 from satococoa/add-linker-flag-for-arc

Add "-fobjc-arc" for linker flag when deployment target is 4.3
This commit is contained in:
Laurent Sansonetti
2012-09-03 04:15:44 -07:00

View File

@@ -425,7 +425,9 @@ EOS
end
def ldflags(platform)
common_flags(platform)
ldflags = common_flags(platform)
ldflags << " -fobjc-arc" if deployment_target < '5.0'
ldflags
end
def bundle_name