diff options
author | David Robillard <d@drobilla.net> | 2015-05-13 21:16:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-05-13 21:16:21 +0000 |
commit | 9cf76f4805ba44cca83318364cf38d57b1ca4fae (patch) | |
tree | f8e77e9f43c019ffae96db725b267f5a650f31a5 /wscript | |
parent | e395dd6a115cd5ba9e98321f3ca4b262c4d0e52b (diff) | |
download | lilv-9cf76f4805ba44cca83318364cf38d57b1ca4fae.tar.gz lilv-9cf76f4805ba44cca83318364cf38d57b1ca4fae.tar.bz2 lilv-9cf76f4805ba44cca83318364cf38d57b1ca4fae.zip |
Build py33 bindings if configured with py3.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5677 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -376,7 +376,8 @@ def build(bld): source = 'bindings/lilv.i', target = 'bindings/_lilv', includes = ['..'], - swig_flags = '-c++ -python -Wall -I.. -llilv -features autodoc=1', + swig_flags = '-c++ -python %s -Wall -I.. -llilv -features autodoc=1' % + ("-py3" if sys.version_info >= (3,0,0) else ""), use = 'liblilv') autowaf.use_lib(bld, obj, 'LILV') |