diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-02 13:58:09 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-02 13:58:09 +0200 |
| commit | d08aa275ce0db7dbdbf65c10fe04368082c70ba5 (patch) | |
| tree | c49781c9da81fef7f24b86e4b61223cee868fc96 /cscript | |
| parent | 4dd934399360ea06d5e2425b5930067349cb1d5f (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-- | cscript | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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. |
