Fix script/build-linux with newer GCC (#32029)
If you follow the [workaround advice in the Docs](https://zed.dev/docs/development/linux#installing-a-development-build) for building with a newer GCC, it will error: https://github.com/zed-industries/zed/blob/58dd1a2d01bd3a9f73d4a1c3afa9ef86524bf8a3/script/bundle-linux#L88-L91 [Reported on Discord](https://discord.com/channels/869392257814519848/1379093394105696288) Release Notes: - Fixed `script/build-linux` for non-musl builds.
This commit is contained in:
1 parent
6c20ec23b8
commit
9e2e9fdeba
1 file changed
+5
-1
+5
-1
@@ -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=""
|
||||
|
||||
Reference in new issue
Block a user