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>2023-10-18 13:46:37 +0200
commit014cffeabbf9710c927bd9518b558211298f52e2 (patch)
tree4b7e28e402932c7f08769568d3fc751483c2a974 /cscript
parent5b4ff8ad597ab9b4ca5d5ee3190dce76c9451566 (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 e96ff0ae9..ad68da6e7 100644
--- a/cscript
+++ b/cscript
@@ -564,6 +564,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):