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 22:43:47 +04:00 committed by GitHub
parent 415ecaff4a
commit 614eaec278
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 )