summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-24 12:09:16 +0200
committerCarl Hetherington <cth@carlh.net>2024-01-28 02:01:57 +0100
commita72355666ed6abbd02bc6b124fddd24f598f89de (patch)
tree2875ac4d9120bf76cb6d09957466e0a5ea51aa5e /cscript
parentd2350127d51cb6afa2892d888aea6fea06be074d (diff)
Only build grok for Ubuntu 22.04.
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/cscript b/cscript
index dad81a18d..8fce3b4ee 100644
--- a/cscript
+++ b/cscript
@@ -563,6 +563,9 @@ def configure_options(target, options, for_package=False):
if target.platform == 'osx' and target.arch == 'arm64':
opt += ' --target-macos-arm64 --wx-config=%s/wx-config' % target.bin
+ if target.platform == 'linux' and target.distro == 'ubuntu' and target.version in ['22.04']:
+ opt += ' --enable-grok'
+
return opt
def build(target, options, for_package):