Skip to content

Commit

Permalink
Add mold dependency to fix build on Ubuntu 24.10 (#23230)
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Tripp <peter@zed.dev>
  • Loading branch information
mfilippov and notpeter authored Jan 16, 2025
1 parent 415ecaf commit 614eaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/linux
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if [[ -n $apt ]]; then
musl-tools
musl-dev
)
if (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.04)' /etc/os-release); then
if (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.(04|10))' /etc/os-release); then
deps+=( mold libstdc++-14-dev )
elif (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+12|Linux Mint 21|.+22\.04)' /etc/os-release); then
deps+=( mold libstdc++-12-dev )
Expand Down

0 comments on commit 614eaec

Please sign in to comment.