summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-07 22:48:11 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-07 22:48:11 +0100
commitb5aaf6fbeb39b6e6d41bad6c9ce333b0f322fe78 (patch)
treefb0d390fc60ad95536ef67b6a4c2ab5c925169f4
parent598abadd42c3b4e47942f67c1cce448a13ca7dde (diff)
More deps.
-rw-r--r--cscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/cscript b/cscript
index 72cc882c..3c3bfaf9 100644
--- a/cscript
+++ b/cscript
@@ -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)