From 71ed1cc72e2375ad0ee934b3d7d82090a5e5a38b Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 25 Mar 2013 10:00:43 -0300 Subject: config: ios: workaround linker crash Apparently the ios linker crashes whenever the ios minimum version is the to 6.0. The solution is to set the minversion to 5.2, that doesn't exist and should use the next 'real' version, that is 6.0. Found this solution at: https://bugzilla.xamarin.com/show_bug.cgi?id=6998 --- config/ios.config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/ios.config b/config/ios.config index 51e8134..20930b8 100644 --- a/config/ios.config +++ b/config/ios.config @@ -11,7 +11,10 @@ from cerbero.config import Architecture, DistroVersion # used later. System libs are passed through the -isysroot option allow_system_libs=False -min_version='6.0' +# The linker crashes if minversion is set to 6.0 +# Setting it to 5.2 (that doesn't exist) makes the minversion +# effectively be 6.0 without making it crash +min_version='5.2' if target_distro_version == DistroVersion.IOS_6_0: v = '6.0' -- cgit v1.2.3