Browse Source

wscript: Fix link error in jack_netsource

If -DNO_JACK_ERROR is set, jack_error() is replaced by printf().

Since it's a C program, we have to set CFLAGS appropriately.
tags/1.9.9.5
Adrian Knoth 14 years ago
parent
commit
80c415be4d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      example-clients/wscript

+ 1
- 1
example-clients/wscript View File

@@ -127,7 +127,7 @@ def build(bld):
prog = bld(features = 'c cprogram')
prog.includes = os_incdir + ['../common/jack', '../common']
prog.source = ['netsource.c', '../common/netjack_packet.c']
prog.env.append_value("CCFLAGS", "-DNO_JACK_ERROR")
prog.env.append_value("CFLAGS", "-DNO_JACK_ERROR")
prog.use = ['CELT', 'SAMPLERATE']
prog.uselib_local = 'clientlib'
prog.target = 'jack_netsource'


Loading…
Cancel
Save