shithub: aubio

Download patch

ref: d0cb3d8ab93b8842b13c771b9aded6d6529eb8eb
parent: aa5237d7b07ed1bc5ec9df61a9407ff6fed5afa0
author: Paul Brossier <piem@piem.org>
date: Sat Apr 23 16:02:27 EDT 2016

tests/wscript_build: no -g for msvc

--- a/tests/wscript_build
+++ b/tests/wscript_build
@@ -1,6 +1,7 @@
 # vim:set syntax=python:
 
 lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None
+cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None
 
 uselib = []
 uselib += ['FFTW3', 'FFTW3F']
@@ -25,5 +26,5 @@
             includes = includes,
             install_path = None,
             defines = 'AUBIO_UNSTABLE_API=1',
-            cflags = ['-g'],
+            cflags = cflags,
             use = 'aubio')