Browse Source

Build netsource tool when celt or opus are available

Signed-off-by: falkTX <falktx@falktx.com>
develop
falkTX 1 month ago
parent
commit
c742b430fb
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tools/wscript

+ 2
- 1
tools/wscript View File

@@ -21,6 +21,7 @@ example_tools = {
def configure(conf):
conf.env['BUILD_TOOL_ALSA_IO'] = conf.env['SAMPLERATE'] and conf.env['BUILD_DRIVER_ALSA']
conf.env['BUILD_TOOL_CLIENT_TRANSPORT'] = conf.env['READLINE']
conf.env['BUILD_TOOL_CLIENT_NETSOURCE'] = conf.env['CELT'] or conf.env['OPUS']
conf.env['BUILD_TOOL_ZALSA'] = conf.env['ZALSA']

def build(bld):
@@ -66,7 +67,7 @@ def build(bld):
prog.env['LIB_PTHREAD'] = [':libwinpthread.a']
prog.target = 'jack_transport'

if bld.env['IS_LINUX'] or bld.env['IS_MACOSX']:
if bld.env['BUILD_TOOL_CLIENT_NETSOURCE']:
prog = bld(features = 'c cprogram')
prog.includes = os_incdir + ['.', '..', '../common/jack', '../common']
prog.source = ['netsource.c', '../common/netjack_packet.c']


Loading…
Cancel
Save