pass -fobjc-arc to LDFLAGS if the deployment target is 4.3

This commit is contained in:
Laurent Sansonetti
2012-09-03 13:18:51 +02:00
parent f57204d7c8
commit 13f4e3da2e

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