summaryrefslogtreecommitdiffstats
path: root/src/server/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/wscript')
-rw-r--r--src/server/wscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/server/wscript b/src/server/wscript
index 43ba162a..a8efd2f8 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -91,6 +91,18 @@ def build(bld):
linkflags = bld.env.PTHREAD_LINKFLAGS)
autowaf.use_lib(bld, obj, core_libs + ' JACK')
+ if bld.env.HAVE_PORTAUDIO:
+ obj = bld(features = 'cxx cxxshlib',
+ source = 'PortAudioDriver.cpp ingen_portaudio.cpp',
+ includes = ['.', '../..'],
+ name = 'libingen_portaudio',
+ target = 'ingen_portaudio',
+ install_path = '${LIBDIR}',
+ use = 'libingen_server',
+ cxxflags = bld.env.PTHREAD_CFLAGS,
+ linkflags = bld.env.PTHREAD_LINKFLAGS)
+ autowaf.use_lib(bld, obj, core_libs + ' PORTAUDIO')
+
# Ingen LV2 wrapper
if bld.env.INGEN_BUILD_LV2:
obj = bld(features = 'cxx cxxshlib',