Merge pull request #1538 from PowerShell/vors/sma-only

Make Start-PSBuild -SMAOnly Unix-friendly
This commit is contained in:
Andy Schwartzmeyer
2016-07-27 10:29:16 -07:00
committed by GitHub
+1 -1
View File
@@ -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) {