X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=381300d083963c28c7601d388f3ffac3bc029e2c;hb=67b37548ec0f4397e803660f49bc3ed6c5d91db3;hp=eb2b397cd6f84c68e1a4b6530350faa8d0f32858;hpb=edab00b277b5a43e063185a80c6a1cc2d29d8c1d;p=libsub.git diff --git a/cscript b/cscript index eb2b397..381300d 100644 --- a/cscript +++ b/cscript @@ -1,7 +1,7 @@ import os def dependencies(target): - return (('libdcp', '1.1.0'),) + return (('libdcp', '689d563'),) def build(target, options): cmd = './waf configure --prefix=%s' % target.directory @@ -9,6 +9,8 @@ def build(target, options): cmd += ' --static' if target.distro == 'centos': cmd += ' --disable-tests' + if (target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23'): + target.append_with_space('CXXFLAGS', '-std=c++11') if target.debug: cmd += ' --enable-debug' if target.platform == 'windows':