Fix install prefix.
authorCarl Hetherington <cth@carlh.net>
Tue, 18 Jun 2013 20:29:31 +0000 (21:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 18 Jun 2013 20:29:31 +0000 (21:29 +0100)
cscript

diff --git a/cscript b/cscript
index f1063c75b2ae291d685f8fb67650ab3a01073ed1..97e2d4b9c0c2d646c6acf0edd084e6ad19789202 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,5 +1,5 @@
 def build(target):
-    cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
+    cmd = './waf configure --prefix=%s/%s' % (target.work_dir_cscript(), target.install_prefix)
     if target.platform == 'linux':
         cmd += ' --static'
     elif target.platform == 'windows':