mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Merge pull request #1941 from kmosher/centos-deps
Fix CentOS build dependency issues
This commit is contained in:
commit
a34393b597
1 file changed
+2
-2
+2
-2
@@ -688,13 +688,13 @@ function Start-PSBootstrap {
|
||||
sudo apt-get install -y -qq $Deps
|
||||
} elseif ($IsCentOS) {
|
||||
# Build tools
|
||||
$Deps += "curl", "gcc-c++", "cmake", "make"
|
||||
$Deps += "which", "curl", "gcc-c++", "cmake", "make"
|
||||
|
||||
# .NET Core required runtime libraries
|
||||
$Deps += "libicu", "libunwind"
|
||||
|
||||
# Packaging tools
|
||||
if ($Package) { $Deps += "ruby-devel", "rpmbuild" }
|
||||
if ($Package) { $Deps += "ruby-devel", "rpm-build" }
|
||||
|
||||
# Install dependencies
|
||||
sudo yum install -y -q $Deps
|
||||
|
||||
Reference in new issue
Block a user