aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.html
diff options
context:
space:
mode:
authorMaria Lisina <sekoohaka.sarisan@gmail.com>2026-07-15 14:35:12 +0300
committerMaria Lisina <sekoohaka.sarisan@gmail.com>2026-07-15 14:35:12 +0300
commitccdd2dacc83e387f6dd2b1fae7f9dad1b6053b9b (patch)
tree9c08af12d81fa555a29adeca8d9859f8d0a3dcc9 /build.html
parentf677abf161a565f36636c1ee4e27d56151789680 (diff)
parentadfd7f6a8e990272851777eeb3ae0def4216f161 (diff)
Merge branch 'master' of https://github.com/tdlib/telegram-bot-api
Diffstat (limited to 'build.html')
-rw-r--r--build.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/build.html b/build.html
index 1b0fdeb..a971488 100644
--- a/build.html
+++ b/build.html
@@ -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++';
}