X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=16df6e422ef59e35ce9986cf21dbd01cf76ee814;hb=36e36d3708e1757a9153731eece9c5038df128ce;hp=ef67e544ffad96120bd645f2632263a3c79c634a;hpb=f9d0bc389d3f36263fb7a3b54d2263878a8ea7fb;p=dcpomatic.git diff --git a/cscript b/cscript index ef67e544f..16df6e422 100644 --- a/cscript +++ b/cscript @@ -233,7 +233,7 @@ def dependencies(target): ffmpeg_options = {} return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options), - ('libdcp', 'd6fda12'), + ('libdcp', 'b74dee5'), ('libsub', '3db5052')) def configure_options(target): @@ -251,6 +251,10 @@ def configure_options(target): elif target.version == '7': opt += ' --workaround-gssapi --static-xmlpp' + # Build Windows debug versions with static linking as I think gdb works better then + if target.debug and target.platform == 'windows': + opt += ' --static-dcpomatic' + return opt def build(target, options): @@ -360,7 +364,7 @@ def package(target, version): return package_rpm(target, cpu, version) elif target.platform == 'osx': target.command('bash platform/osx/make_dmg.sh %s' % target.directory) - return os.path.abspath(glob.glob('build/platform/osx/DCP-o-matic*.dmg')[0]) + return [os.path.abspath(x) for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg')] def make_pot(target): target.command('./waf pot')