diff options
author | Thiago Santos <thiago.sousa.santos@collabora.com> | 2013-03-25 10:00:43 -0300 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-04-05 20:50:10 +0200 |
commit | 71ed1cc72e2375ad0ee934b3d7d82090a5e5a38b (patch) | |
tree | b6532efba1540f2763256d4719478079af3feb26 | |
parent | e6a5176c43320bacc3ae858760f14ba157c6d6aa (diff) |
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
-rw-r--r-- | config/ios.config | 5 |
1 files changed, 4 insertions, 1 deletions
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' |