diff --git a/script/bundle b/script/bundle index 7b02b063059f7974d84c5acc8f3aa1242c48854f..ecc295de9a76484fdbed475ec203cbcbfb903c99 100755 --- a/script/bundle +++ b/script/bundle @@ -7,6 +7,9 @@ export ZED_BUNDLE=true # Install cargo-bundle 0.5.0 if it's not already installed cargo install cargo-bundle --version 0.5.0 +# Deal with versions of macOS that don't include libstdc++ headers +export CXXFLAGS="-stdlib=libc++" + # Build the app bundle for x86_64 pushd crates/zed > /dev/null cargo bundle --release --target x86_64-apple-darwin