From 614eaec278cbc2914cdd01b7f9e8c249aaa205b6 Mon Sep 17 00:00:00 2001 From: Mikhail Filippov Date: Thu, 16 Jan 2025 22:43:47 +0400 Subject: [PATCH] Add mold dependency to fix build on Ubuntu 24.10 (#23230) Co-authored-by: Peter Tripp --- script/linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/linux b/script/linux index 650c1cfbbb..d599d9cce7 100755 --- a/script/linux +++ b/script/linux @@ -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 )