summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/cscript b/cscript
index 8d0718f96..acc3bf155 100644
--- a/cscript
+++ b/cscript
@@ -575,7 +575,13 @@ def configure_options(target, options, for_package=False):
(target.distro == 'ubuntu' and ubuntu_year >= 24) or
(target.distro == 'fedora' and int(target.version) >= 42)
):
- opt += ' --enable-grok --workaround-mutter'
+ opt += ' --workaround-mutter'
+
+ if target.platform == 'linux' and (
+ (target.distro == 'ubuntu' and target.version == "24.04") or
+ (target.distro == 'fedora' and target.version == "42")
+ ):
+ opt += ' --enable-grok'
if build_with_cpp17(target):
opt += ' --c++17'