Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mengning authored Dec 30, 2024
1 parent 82f0685 commit f9585dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ function package {
# package new ninja binary
mkdir -p build/bin/ninja2
cp "build/bin/ninja" "build/bin/ninja2/"
cp $(ldd ./build/bin/ninja | awk '{print $3}' | grep '/lib') ./build/bin/ninja2/
# 在Ubuntu22.04中缺失的so文件
cp $(ldd ./build/bin/ninja | awk '{print $3}' | grep -E 'libcares\.so\.2|libssl\.so\.1\.1|libprotobuf\.so\.17|libcrypto\.so\.1\.1|libgrpc\+\+.so\.1|libyaml\-cpp\.so\.0\.6|libgrpc\.so\.6') ./build/bin/ninja2/

cat <<EOL > "build/bin/ninja2/ninja2.conf"
# Copyright 2024 Mengning Software All rights reserved.
Expand Down

0 comments on commit f9585dd

Please sign in to comment.