diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-04-07 22:48:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-04-07 22:48:11 +0100 |
| commit | b5aaf6fbeb39b6e6d41bad6c9ce333b0f322fe78 (patch) | |
| tree | fb0d390fc60ad95536ef67b6a4c2ab5c925169f4 | |
| parent | 598abadd42c3b4e47942f67c1cce448a13ca7dde (diff) | |
More deps.
| -rw-r--r-- | cscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -77,6 +77,12 @@ def package(target, version): os.mkdir(d) for f in ['asdcp-cth.dll', 'cxml-0.dll', 'dcp-1.0.dll', 'kumu-cth.dll', 'libopenjp2.dll', 'dcpinfo.exe']: shutil.copyfile('%s/bin/%s' % (target.directory, f), os.path.join(d, f)) + + if target.bits == 32: + shutil.copyfile('%s/bin/libgcc_s_sjlj-1.dll' % target.windows_prefix, os.path.join(d, 'libgcc_s_sjlj-1.dll')) + else: + shutil.copyfile('%s/bin/libgcc_s_seh-1.dll' % target.windows_prefix, os.path.join(d, 'libgcc_s_seh-1.dll')) + target.command('cd build && zip -9 -r libdcp-%s.zip %s' % (version, d)) return os.path.abspath('build/libdcp-%s.zip' % version) |
