diff options
author | Bernhard Urban <bernhard.urban@xamarin.com> | 2019-02-07 22:26:42 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-02-07 22:26:42 +0300 |
commit | 21c65aafc806fb4b31bfd34169cc2b9cb1eadec1 (patch) | |
tree | 9c2f1e782efc9a81ec7f66a80b5f071627515b4c /sdks/builds/ios.mk | |
parent | 0e65799c8ec6982621d18aef8f1475184f4c99a3 (diff) |
[ios] pass --enable-monotouch to cross compilers so icall defintions are visible to it (#12834)
This fixes a regression introduced by https://github.com/mono/mono/commit/5187b0bdaaff56936d697b0753dad51e7498991d
The AOT compiler wasn't aware of the icalls since they are guarded by `ENABLE_MONOTOUCH`. Passing `--enable-monotouch` to configure of the AOT compiler enables that define, so it can properly resolve those icalls. However, to avoid `zlib` dependency for the cross compilers, we stub
them out.
Diffstat (limited to 'sdks/builds/ios.mk')
-rw-r--r-- | sdks/builds/ios.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdks/builds/ios.mk b/sdks/builds/ios.mk index 9682b4de781..3593de21cfc 100644 --- a/sdks/builds/ios.mk +++ b/sdks/builds/ios.mk @@ -337,6 +337,7 @@ _ios-$(1)_CONFIGURE_FLAGS= \ --enable-dtrace=no \ --enable-icall-symbol-map \ --enable-minimal=com,remoting \ + --enable-monotouch \ --disable-crash-reporting $$(eval $$(call CrossRuntimeTemplate,ios,$(1),$(2)-apple-darwin10,$(3)-darwin,$(4),$(5),$(6))) |