summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-02 13:58:09 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-02 13:58:09 +0200
commitd08aa275ce0db7dbdbf65c10fe04368082c70ba5 (patch)
treec49781c9da81fef7f24b86e4b61223cee868fc96 /cscript
parent4dd934399360ea06d5e2425b5930067349cb1d5f (diff)
Push force-cpp11 down to dependencies on osx-64; it's required for the disk stuff so we might as well use it everywhere.
Diffstat (limited to 'cscript')
-rw-r--r--cscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/cscript b/cscript
index aa2a46b41..510fc44d8 100644
--- a/cscript
+++ b/cscript
@@ -362,8 +362,13 @@ def dependencies(target):
# Use distro-provided FFmpeg on Arch
deps = []
- deps.append(('libdcp', None, {'force-cpp11': True}))
- deps.append(('libsub', None, {'force-cpp11': True}))
+ cpp_lib_options = {}
+ if target.platform == 'osx' and target.bits == 64:
+ # We can use C++11 mode, so let's do it.
+ options['force-cpp11'] = True
+
+ deps.append(('libdcp', None, cpp_lib_options))
+ deps.append(('libsub', None, cpp_lib_options))
deps.append(('rtaudio', 'carl'))
# We get our OpenSSL libraries from the environment, but we
# also need a patched openssl binary to make certificates.