mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fixes for alpine no opt
This commit is contained in:
+1
-1
@@ -547,7 +547,7 @@ Fix steps:
|
||||
Write-Verbose "Building with shim" -Verbose
|
||||
$globalToolSrcFolder = Resolve-Path (Join-Path $Options.Top "../Microsoft.PowerShell.GlobalTool.Shim") | Select-Object -ExpandProperty Path
|
||||
|
||||
if ($Options.Runtime -eq 'fxdependent') {
|
||||
if ($Options.Runtime -eq 'fxdependent' -or $Options.Runtime -eq 'fxdependent-noopt-linux-musl-x64') {
|
||||
$Arguments += "/property:SDKToUse=Microsoft.NET.Sdk"
|
||||
} elseif ($Options.Runtime -eq 'fxdependent-win-desktop') {
|
||||
$Arguments += "/property:SDKToUse=Microsoft.NET.Sdk.WindowsDesktop"
|
||||
|
||||
Reference in New Issue
Block a user