From bf68063c3d6f060a1b6437b371318c708df14bfd Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Thu, 29 Jul 2021 09:05:27 -0400 Subject: [PATCH] [mono] Export jit icalls on osx/catalyst as well. Fixes https://github.com/dotnet/runtime/issues/55000. --- src/mono/mono.proj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mono/mono.proj b/src/mono/mono.proj index 0fd603fd47ac8..ad50dc1acff1d 100644 --- a/src/mono/mono.proj +++ b/src/mono/mono.proj @@ -273,6 +273,7 @@ <_MonoCMakeArgs Include="-DCMAKE_OSX_DEPLOYMENT_TARGET=$(macOSVersionMin)" /> + <_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/> <_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" /> <_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" /> @@ -342,12 +343,12 @@ <_MonoCMakeArgs Include="-DICU_LIBDIR=$(_IcuLibdir)"/> + <_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/> <_MonoCFLAGS Include="-I$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)/runtimes/$(TargetOS)-$(TargetArchitecture)/native/include" /> <_MonoCMakeArgs Include="-DENABLE_MINIMAL=shared_perfcounters"/> - <_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>