mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add ability to cross compile (#9374)
`-CrossGen` won`t work, but this gives basic ability to build for another platform. This also means you cannot really package for another platform.
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<DefineConstants>$(DefineConstants);CORECLR</DefineConstants>
|
||||
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
|
||||
<IsWindows Condition="'$(IsWindows)' =='true' or ( '$(IsWindows)' == '' and '$(OS)' == 'Windows_NT')">true</IsWindows>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Define non-windows, all configuration properties -->
|
||||
|
||||
Reference in New Issue
Block a user