blob: 9e0eaaaccd3c1ff08181b395b20b3e0c79767896 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
release_targets = ['source']
def build(dep_prefix, install_prefix, target, static, parallel):
configure = './waf configure --prefix=%s' % install_prefix
if static:
configure += ' --static-openjpeg --static-libdcp'
var = "CXXFLAGS=-I%s/include LINKFLAGS=-L%s/lib PKG_CONFIG_PATH=%s/lib/pkgconfig" % (dep_prefix, dep_prefix, dep_prefix)
command('%s %s' % (var, configure))
command('./waf build install')
|