Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix `script/build-linux` with newer GCC (#32029)

Peter Tripp0fc85a020aa3
diff --git a/script/bundle-linux b/script/bundle-linux
index e40eb33c93a..9d0c5f83a1a 100755
--- a/script/bundle-linux
+++ b/script/bundle-linux
@@ -87,7 +87,11 @@ fi
# Ensure that remote_server does not depend on libssl nor libcrypto, as we got rid of these deps.
if ldd "${target_dir}/${remote_server_triple}/release/remote_server" | grep -q 'libcrypto\|libssl'; then
- echo "Error: remote_server still depends on libssl or libcrypto" && exit 1
+ if [[ "$remote_server_triple" == *-musl ]]; then
+ echo "Error: remote_server still depends on libssl or libcrypto" && exit 1
+ else
+ echo "Info: Using non-musl remote-server build."
+ fi
fi
suffix=""