summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/cscript b/cscript
index e29168d6b..887978c3f 100644
--- a/cscript
+++ b/cscript
@@ -336,6 +336,9 @@ def configure_options(target):
# a better solution.
opt += ' --force-cpp11'
+ if hasattr(target, 'gui') and target.gui == 'no':
+ opt += ' --disable-gui'
+
# Build Windows debug versions with static linking as I think gdb works better then
if target.debug and target.platform == 'windows':
opt += ' --static-dcpomatic'