diff options
author | Leonardo Galli <leonardo.galli@bluewin.ch> | 2018-12-23 15:33:10 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-01-02 15:54:08 +0300 |
commit | 1746f09efe8fa43a9fe719c2592b8bdcbdd6d185 (patch) | |
tree | 2635dc76114b4bb65eae9aeeeaac2eb7c22a58d3 /msvc | |
parent | 8383b2194bb16450cd7dbe2b096532fddaa40473 (diff) |
[build] Fixed csproj.tmpl for macos: Conflict in naming of HostPlatform.
macOS was used for checking HostPlatform for OSX, but darwin is what the value was set to. This fixes the solution and csproj files for OSX.
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/scripts/csproj.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/msvc/scripts/csproj.tmpl b/msvc/scripts/csproj.tmpl index 492144bf584..ce1440e9911 100644 --- a/msvc/scripts/csproj.tmpl +++ b/msvc/scripts/csproj.tmpl @@ -9,7 +9,7 @@ <NoWarn>@DISABLEDWARNINGS@</NoWarn>
<LangVersion>@LANGVERSION@</LangVersion>
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Windows_NT'">win32</HostPlatform>
- <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix' and $([System.IO.File]::Exists('/usr/lib/libc.dylib'))">darwin</HostPlatform>
+ <HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix' and $([System.IO.File]::Exists('/usr/lib/libc.dylib'))">macos</HostPlatform>
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix'">linux</HostPlatform>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
@NOSTDLIB@
@@ -23,7 +23,7 @@ </PropertyGroup>
<PropertyGroup>
- <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
+ <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
|