diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-05 10:34:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-05 10:34:28 +0100 |
| commit | c177301ef888021f91f8476baddcb8c3e585cfd7 (patch) | |
| tree | a182398047b0c385e72f4ea4a4b5feb2536b8a09 /cscript | |
| parent | 013f6aab443f5b7857871b6f0b6b41f7562bc870 (diff) | |
Build libdcp with force-cpp11 if it is passed in as an option to libsub.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ # -# Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net> +# Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net> # # This file is part of libsub. # @@ -19,8 +19,9 @@ import os -def dependencies(target): - return (('asdcplib', 'carl'), ('libcxml', '0d18df4'), ('libdcp', None)) +def dependencies(target, options): + libdcp_options = { 'force-cpp11': True} if options['force-cpp11'] else {} + return (('asdcplib', 'carl'), ('libcxml', '0d18df4'), ('libdcp', None, libdcp_options)) def build(target, options): cmd = './waf configure --prefix=%s' % target.directory |
