Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
linux: Bundle libstdc++.so for release (#57132)
Jakub Konka7b6be29669b9
diff --git a/script/bundle-linux b/script/bundle-linuxindex 3487feaf32b..b510365acb4 100755--- a/script/bundle-linux+++ b/script/bundle-linux@@ -151,10 +151,12 @@ cp "${target_dir}/${target_triple}/release/zed" "${zed_dir}/libexec/zed-editor"cp "${target_dir}/${target_triple}/release/cli" "${zed_dir}/bin/zed"# Libs+# Bundle libstdc++ so older supported systems can run binaries built with our+# toolchain even when their system libstdc++.so.6 lacks required GLIBCXX symbols.find_libs() {ldd ${target_dir}/${target_triple}/release/zed |\cut -d' ' -f3 |\- grep -v '\<\(libstdc++.so\|libc.so\|libgcc_s.so\|libm.so\|libpthread.so\|libdl.so\|libasound.so\)'+ grep -v '\<\(libc.so\|libgcc_s.so\|libm.so\|libpthread.so\|libdl.so\|libasound.so\)'}mkdir -p "${zed_dir}/lib"