shithub: aubio

Download patch

ref: cdd24f054bc30a1e178c725acf6cc6aa0ead6a40
parent: 7c07af2b9df2a3e9f48e7d51a5ba704205bea3ba
author: Paul Brossier <piem@piem.org>
date: Tue Oct 15 21:22:55 EDT 2013

{examples,tests}/wscript_build: add -lm

--- a/examples/wscript_build
+++ b/examples/wscript_build
@@ -12,6 +12,7 @@
 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]
--- a/tests/wscript_build
+++ b/tests/wscript_build
@@ -10,6 +10,7 @@
     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],