Add libcxml dep to cscript.
authorCarl Hetherington <cth@carlh.net>
Tue, 18 Jun 2013 15:32:11 +0000 (16:32 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 18 Jun 2013 15:32:11 +0000 (16:32 +0100)
cscript

diff --git a/cscript b/cscript
index 668805c2635e70b606cbb99a5a10c328de41b88c..24f82c8654e8a679a0a51da0760bfef1eff51f6b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,5 +1,12 @@
 import os
 
+def dependencies(target):
+    if target.platform == 'windows':
+        return ()
+    else:
+        # XXX: should be some versions in here
+        return (('libcxml', None))
+
 def build(target):
     cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
     if target.platform == 'linux':