From a72355666ed6abbd02bc6b124fddd24f598f89de Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 24 Sep 2023 12:09:16 +0200 Subject: Only build grok for Ubuntu 22.04. --- cscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cscript') 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): -- cgit v1.2.3