Commit 80c415be authored by Adrian Knoth's avatar Adrian Knoth
Browse files

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.
parent a122dbcd
......@@ -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' = 'jack_netsource'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment