From cdd24f054bc30a1e178c725acf6cc6aa0ead6a40 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 16 Oct 2013 01:22:55 +0200 Subject: [PATCH] {examples,tests}/wscript_build: add -lm --- examples/wscript_build | 1 + tests/wscript_build | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/wscript_build b/examples/wscript_build index b89b9fd5..9f797e04 100644 --- a/examples/wscript_build +++ b/examples/wscript_build @@ -12,6 +12,7 @@ utilsio = bld( for source_file in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']): bld.program(features = 'c cprogram', includes = '../src', + lib = 'm', use = ['aubio', 'FFTW3F', 'FFTW3', 'SNDFILE', 'JACK', 'LASH', 'SAMPLERATE', 'utilsio'], source = str(source_file), target = str(source_file).split('.')[0] diff --git a/tests/wscript_build b/tests/wscript_build index 64bd5e98..1195ccdc 100644 --- a/tests/wscript_build +++ b/tests/wscript_build @@ -10,6 +10,7 @@ for target_name in ctx.path.ant_glob('src/**/*.c'): extra_source += ['../examples/jackio.c'] bld(features = 'c cprogram test', + lib = 'm', uselib = uselib, source = [target_name] + extra_source, target = str(target_name).split('.')[0], -- 2.11.0