diff options
Diffstat (limited to 'src/server/wscript')
-rw-r--r-- | src/server/wscript | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/server/wscript b/src/server/wscript index 2f95148a..f01c6e0b 100644 --- a/src/server/wscript +++ b/src/server/wscript @@ -53,6 +53,8 @@ def build(bld): mix.cpp ''' + core_libs = 'LV2 LILV RAUL SERD SORD SRATOM' + obj = bld(features = 'cxx cxxshlib', source = core_source, export_includes = ['../..'], @@ -61,10 +63,9 @@ def build(bld): target = 'ingen_server', install_path = '${LIBDIR}', use = 'libingen libingen_socket', + uselib = core_libs, cxxflags = bld.env.PTHREAD_CFLAGS + bld.env.INGEN_TEST_CXXFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS + bld.env.INGEN_TEST_LINKFLAGS) - core_libs = 'LV2 LILV RAUL SERD SORD' - autowaf.use_lib(bld, obj, core_libs) if bld.env.HAVE_JACK: obj = bld(features = 'cxx cxxshlib', @@ -74,9 +75,9 @@ def build(bld): target = 'ingen_jack', install_path = '${LIBDIR}', use = 'libingen_server', + uselib = core_libs + ' JACK', cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) - autowaf.use_lib(bld, obj, core_libs + ' JACK') if bld.env.HAVE_PORTAUDIO: obj = bld(features = 'cxx cxxshlib', @@ -86,9 +87,9 @@ def build(bld): target = 'ingen_portaudio', install_path = '${LIBDIR}', use = 'libingen_server', + uselib = core_libs + ' PORTAUDIO', cxxflags = ['-fvisibility=hidden'] + 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: @@ -100,6 +101,6 @@ def build(bld): target = 'ingen_lv2', install_path = '${LV2DIR}/ingen.lv2/', use = 'libingen libingen_server', + uselib = core_libs, cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) - autowaf.use_lib(bld, obj, core_libs) |