diff options
author | David Robillard <d@drobilla.net> | 2016-12-13 20:54:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-12-14 14:47:13 -0500 |
commit | 74f83ee8aa39d9fded35e07c9418c38ababcd9a7 (patch) | |
tree | 7461cd602c6e6238cd3127d5373ae8577f90a20e /src/server | |
parent | e7b2f7ee286350bc3bb56b44ed98e4d8bf49af82 (diff) | |
download | ingen-74f83ee8aa39d9fded35e07c9418c38ababcd9a7.tar.gz ingen-74f83ee8aa39d9fded35e07c9418c38ababcd9a7.tar.bz2 ingen-74f83ee8aa39d9fded35e07c9418c38ababcd9a7.zip |
Add option to not build LV2 plugin
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/wscript | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/server/wscript b/src/server/wscript index 1d4b8ac2..43ba162a 100644 --- a/src/server/wscript +++ b/src/server/wscript @@ -92,13 +92,14 @@ def build(bld): autowaf.use_lib(bld, obj, core_libs + ' JACK') # Ingen LV2 wrapper - obj = bld(features = 'cxx cxxshlib', - source = ' ingen_lv2.cpp ', - includes = ['.', '../..'], - name = 'libingen_lv2', - target = 'ingen_lv2', - install_path = '${LV2DIR}/ingen.lv2/', - use = 'libingen libingen_server', - cxxflags = bld.env.PTHREAD_CFLAGS, - linkflags = bld.env.PTHREAD_LINKFLAGS) - autowaf.use_lib(bld, obj, core_libs) + if bld.env.INGEN_BUILD_LV2: + obj = bld(features = 'cxx cxxshlib', + source = ' ingen_lv2.cpp ', + includes = ['.', '../..'], + name = 'libingen_lv2', + target = 'ingen_lv2', + install_path = '${LV2DIR}/ingen.lv2/', + use = 'libingen libingen_server', + cxxflags = bld.env.PTHREAD_CFLAGS, + linkflags = bld.env.PTHREAD_LINKFLAGS) + autowaf.use_lib(bld, obj, core_libs) |