diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-15 14:35:12 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-15 14:35:12 +0300 |
| commit | ccdd2dacc83e387f6dd2b1fae7f9dad1b6053b9b (patch) | |
| tree | 9c08af12d81fa555a29adeca8d9859f8d0a3dcc9 /build.html | |
| parent | f677abf161a565f36636c1ee4e27d56151789680 (diff) | |
| parent | adfd7f6a8e990272851777eeb3ae0def4216f161 (diff) | |
Merge branch 'master' of https://github.com/tdlib/telegram-bot-api
Diffstat (limited to 'build.html')
| -rw-r--r-- | build.html | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -208,6 +208,7 @@ <option>Ubuntu 20</option> <option>Ubuntu 22</option> <option>Ubuntu 24</option> + <option>Ubuntu 26</option> <option>Other</option> </select> <p></p> @@ -496,6 +497,8 @@ function onOptionsChanged() { return '-14'; case 'Ubuntu 24': return '-18'; + case 'Ubuntu 26': + return '-21'; default: return ''; // use default version } @@ -506,6 +509,7 @@ function onOptionsChanged() { case 'Ubuntu 20': case 'Ubuntu 22': case 'Ubuntu 24': + case 'Ubuntu 26': return getClangVersionSuffix(); default: return ''; // use default version @@ -556,6 +560,7 @@ function onOptionsChanged() { case 'Ubuntu 20': case 'Ubuntu 22': case 'Ubuntu 24': + case 'Ubuntu 26': if (linux_distro.includes('Debian') && !use_root) { commands.push('su -'); } @@ -563,10 +568,7 @@ function onOptionsChanged() { commands.push(sudo + 'apt-get upgrade'); var packages = 'make git zlib1g-dev libssl-dev gperf cmake'; if (use_clang) { - packages += ' clang' + getClangVersionSuffix() + ' libc++' + getLibcplusplusVersionSuffix() + '-dev'; - if (linux_distro === 'Debian 10+' || linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22' || linux_distro === 'Ubuntu 24') { - packages += ' libc++abi' + getLibcplusplusVersionSuffix() + '-dev'; - } + packages += ' clang' + getClangVersionSuffix() + ' libc++' + getLibcplusplusVersionSuffix() + '-dev libc++abi' + getLibcplusplusVersionSuffix() + '-dev'; } else { packages += ' g++'; } |
