mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-25 16:09:44 +00:00
Merge pull request #400 from zed-industries/libc++
Use -stdlib=libc++ in script/bundle to avoid errors on Monterey
This commit is contained in:
commit
a9d2abebdb
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ export ZED_BUNDLE=true
|
||||||
# Install cargo-bundle 0.5.0 if it's not already installed
|
# Install cargo-bundle 0.5.0 if it's not already installed
|
||||||
cargo install cargo-bundle --version 0.5.0
|
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
|
# Build the app bundle for x86_64
|
||||||
pushd crates/zed > /dev/null
|
pushd crates/zed > /dev/null
|
||||||
cargo bundle --release --target x86_64-apple-darwin
|
cargo bundle --release --target x86_64-apple-darwin
|
||||||
|
|
Loading…
Reference in a new issue