summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index f7e8e1bf..ab52e4d3 100644
--- a/cscript
+++ b/cscript
@@ -41,8 +41,8 @@ def build(target, options):
cmd = './waf configure --disable-examples --disable-dumpimage --disable-benchmarks --prefix=%s' % target.directory
if target.platform == 'linux':
cmd += ' --static'
- if not (target.distro == 'ubuntu' and target.version == '18.04'):
- # We only build tests on Ubuntu 18.04
+ if target.distro != 'ubuntu' or not target.version in ('16.04', '22.04'):
+ # We only build tests on Ubuntu 16.04 and 22.04
cmd += ' --disable-tests'
elif target.platform == 'windows':
cmd += f' --target-windows-{target.bits}'