mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Merge pull request #1538 from PowerShell/vors/sma-only
Make Start-PSBuild -SMAOnly Unix-friendly
This commit is contained in:
commit
1349372b39
1 file changed
+1
-1
+1
-1
@@ -237,7 +237,7 @@ function Start-PSBuild {
|
||||
}
|
||||
|
||||
# Build native components
|
||||
if ($IsLinux -or $IsOSX) {
|
||||
if (($IsLinux -or $IsOSX) -and -not $SMAOnly) {
|
||||
$Ext = if ($IsLinux) {
|
||||
"so"
|
||||
} elseif ($IsOSX) {
|
||||
|
||||
Reference in new issue
Block a user