Throw a specific exception when no WEBVTT header is found.
[libsub.git] / cscript
diff --git a/cscript b/cscript
index ae47a61641a0c62bf249ef51782598b055fdfca4..776fd56bbf4da051445ab1abedf1057c0f239e73 100644 (file)
--- a/cscript
+++ b/cscript
@@ -21,9 +21,6 @@ import os
 
 option_defaults = { 'force-cpp11': False }
 
-def dependencies(target, options):
-    return (('asdcplib', 'bb09615'), ('libdcp', '2d6b31b'))
-
 def build(target, options):
     cmd = './waf configure --prefix=%s' % target.directory
     if target.platform == 'linux':
@@ -33,7 +30,7 @@ def build(target, options):
     if target.debug:
         cmd += ' --enable-debug'
     if target.platform == 'windows':
-        cmd += ' --target-windows --disable-tests'
+        cmd += f' --target-windows-{target.bits} --disable-tests'
 
     target.command(cmd)
     target.command('./waf build install')