diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-31 13:15:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-31 13:15:04 +0200 |
| commit | 6a38cecae8128224bc55ec1d829fe01b36def30f (patch) | |
| tree | fbfe08e0b9665eb8167181763070c48fefb45cab /cscript | |
| parent | a305ae0951ac9f5bfa1ac6c1873c74a20b4128a2 (diff) | |
| parent | 9425e383591be8abe17b588f5d8c3b2a39bbec6d (diff) | |
Fix merge.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -196,7 +196,7 @@ deb_depends['unstable'].extend(['libboost-filesystem1.67.0', 'libx264-155', 'libcurl4']) -def build_disk(target): +def can_build_disk(target): # We can build dcpomatic2_disk on platforms that have Boost process and can build the lwext4 # library. For now, just whitelist good ones here. # @@ -370,13 +370,13 @@ def dependencies(target): # This dependency is to get that binary, which is added into # the appropriate place later deps.append(('openssl', 'carl')) - if build_dist(target): + if can_build_disk(target): deps.append(('lwext4', 'carl2')) return deps def option_defaults(): - return { "gui": True, "variant": None } + return { "gui": True, "variant": None, "disk": False } def configure_options(target, options): opt = '' @@ -414,7 +414,7 @@ def configure_options(target, options): if target.debug and target.platform == 'windows': opt += ' --static-dcpomatic' - if build_disk(target): + if can_build_disk(target) and options['disk']: opt += ' --enable-disk' return opt |
