Fix build method.
authorCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2013 19:42:20 +0000 (20:42 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2013 19:42:20 +0000 (20:42 +0100)
cscript

diff --git a/cscript b/cscript
index f0e281288d9219ea03828202910c1fae2dcc07d0..0457ebbff6995e62786425112044a911fed4fe94 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,7 +1,7 @@
 release_targets = ['source']
 
-def build(prefix):
+def build(dep_prefix, install_prefix):
     command("""CXXFLAGS=-I%s/include LINKFLAGS=-L%s/lib PKG_CONFIG_PATH=%s/lib/pkgconfig
-               ./waf configure --static-openjpeg --static-libdcp --prefix=%s build install""" % (prefix, prefix, prefix, prefix))
+               ./waf configure --static-openjpeg --static-libdcp --prefix=%s build install""" % (dep_prefix, dep_prefix, dep_prefix, install_prefix))