From: Carl Hetherington Date: Fri, 25 May 2018 22:05:01 +0000 (+0100) Subject: Try to allow building of packages without the GUI. X-Git-Tag: v2.13.24~2 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=2edfdac78b19d9472a87ee61aa250e5426d80151;hp=67e67ea42fcfd2a0805fd96f44a2435992a3320e;p=dcpomatic.git Try to allow building of packages without the GUI. --- 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'