[mmp] Only 64-bit apps have the dynamic objc_msgSend wrappers.

This commit is contained in:
Rolf Bjarne Kvinge 2016-05-12 18:38:37 +02:00
Родитель 7c1b81eb9d
Коммит f631069bbd
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -605,7 +605,7 @@ namespace Xamarin.Bundler {
Watch (string.Format ("Linking (mode: '{0}')", App.LinkMode), 1);
}
if (App.MarshalObjectiveCExceptions != MarshalObjectiveCExceptionMode.Disable && !App.RequiresPInvokeWrappers) {
if (App.MarshalObjectiveCExceptions != MarshalObjectiveCExceptionMode.Disable && !App.RequiresPInvokeWrappers && BuildTarget.Is64Build) {
internalSymbols.Add ("xamarin_dyn_objc_msgSend");
internalSymbols.Add ("xamarin_dyn_objc_msgSendSuper");
internalSymbols.Add ("xamarin_dyn_objc_msgSend_stret");