Apply objc_msgsend fix to src/mono too and fix build on earlier Xcode (#90217)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 9 Aug 2023 12:41:26 +0000 (14:41 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2023 12:41:26 +0000 (14:41 +0200)
commite35c8214a94827ded526b0011b5c9e86faa82197
tree4a05200c34ac2ee78d135c0e3a3d5d74ad51ec06
parent24f151365fe1a1795775f2ad0287aba8f14f40d0
Apply objc_msgsend fix to src/mono too and fix build on earlier Xcode (#90217)

We were missing the objc_msgsend fix from https://github.com/dotnet/runtime/pull/89932 in the mono build.

Also fix an issue where CMake would complain about wrong number of arguments when CLR_CMAKE_COMMON_OBJC_FLAGS is empty, we need put the variable in quotes.
src/mono/CMakeLists.txt
src/mono/mono/mini/CMakeLists.txt
src/native/libs/System.Globalization.Native/CMakeLists.txt
src/native/libs/System.Native/CMakeLists.txt