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

diff --git a/cscript b/cscript
index a1a9232dda1e89b98d52fa70c4c752f5a7c93eca..b56c1d6371dca390d0a2e0afcd38fc42d432e5b6 100644 (file)
--- a/cscript
+++ b/cscript
@@ -8,7 +8,7 @@ def dependencies(target):
         return (('libcxml', None), ('openjpeg-cdist', None))
 
 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':