diff --git a/script/linux b/script/linux index 029278bea383b50b949a42a3e1af518a4366f732..47f58c0bc5ff9e8127f51251c8e0420fc08debba 100755 --- a/script/linux +++ b/script/linux @@ -47,7 +47,10 @@ if [[ -n $apt ]]; then musl-dev build-essential ) - if (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.(04|10))' /etc/os-release); then + if (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+13|' /etc/os-release); then + # libstdc++-14-dev is in build-essential + deps+=( mold ) + elif (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 )