Add mold dependency to fix build on Ubuntu 24.10 (#23230)

Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
Mikhail Filippov
2025-01-16 13:43:47 -05:00
committed by GitHub
co-authored by Peter Tripp
parent 415ecaff4a
commit 614eaec278
+1 -1
View File
@@ -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 )