summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-17 20:39:50 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-17 20:39:50 +0100
commit6da141cf4717903a979c80a5bc0a70ef354013b7 (patch)
tree8b84d7a98a924c050fa62cecdfb4409bf85b8a37 /cscript
parent3b1afd9479b20b0374d8fa370f82b806b4465a6d (diff)
cscript must build statically.
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/cscript b/cscript
index f5590c55..f0e28128 100644
--- a/cscript
+++ b/cscript
@@ -1,6 +1,7 @@
release_targets = ['source']
def build(prefix):
- command('CXXFLAGS=-I%s/include LINKFLAGS=-L%s/lib PKG_CONFIG_PATH=%s/lib/pkgconfig ./waf configure --prefix=%s build install' % (prefix, prefix, prefix, 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))