summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-17 20:42:20 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-17 20:42:20 +0100
commit3d88bdfd57f4f8a1a716ec0f7f7ab9438af9299d (patch)
treeb36316c1f7a51155707e7498854e6fdb56c9926f /cscript
parent6da141cf4717903a979c80a5bc0a70ef354013b7 (diff)
Fix build method.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index f0e28128..0457ebbf 100644
--- 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))