summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-05 10:34:28 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-05 10:34:28 +0100
commitc177301ef888021f91f8476baddcb8c3e585cfd7 (patch)
treea182398047b0c385e72f4ea4a4b5feb2536b8a09 /cscript
parent013f6aab443f5b7857871b6f0b6b41f7562bc870 (diff)
Build libdcp with force-cpp11 if it is passed in as an option to libsub.
Diffstat (limited to 'cscript')
-rw-r--r--cscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/cscript b/cscript
index 4d9d017..800811d 100644
--- a/cscript
+++ b/cscript
@@ -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