projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e67ea
)
Try to allow building of packages without the GUI.
author
Carl Hetherington
<cth@carlh.net>
Fri, 25 May 2018 22:05:01 +0000
(23:05 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 25 May 2018 22:05:01 +0000
(23:05 +0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index e29168d6b76a171a51379524525e3fdf03a11f6b..887978c3fe7159ab24f12717989e78cb5c315443 100644
(file)
--- 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'