Changeset 58cffee for tests


Ignore:
Timestamp:
Apr 23, 2016, 12:12:06 AM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
6d7d52c
Parents:
0806cd2
Message:

tests/wscript_build, src/wscript_build: no -lm on win32/64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/wscript_build

    r0806cd2 r58cffee  
    11# vim:set syntax=python:
    22
     3lib = 'm' if ctx.env['DEST_OS'] not in ['win32', 'win64'] else None
     4
     5uselib = []
     6uselib += ['FFTW3', 'FFTW3F']
     7uselib += ['SAMPLERATE']
     8uselib += ['SNDFILE']
     9uselib += ['AVCODEC']
     10uselib += ['AVFORMAT']
     11uselib += ['AVRESAMPLE']
     12uselib += ['AVUTIL']
     13uselib += ['JACK']
     14uselib += ['BLAS']
     15
     16includes = ['../src', '.']
     17
    318for target_name in ctx.path.ant_glob('src/**/*.c'):
    4     uselib = []
    5     uselib += ['FFTW3', 'FFTW3F']
    6     uselib += ['SAMPLERATE']
    7     uselib += ['SNDFILE']
    8     uselib += ['AVCODEC']
    9     uselib += ['AVFORMAT']
    10     uselib += ['AVRESAMPLE']
    11     uselib += ['AVUTIL']
    12     uselib += ['JACK']
    13     uselib += ['BLAS']
    14     includes = ['../src', '.']
    1519    extra_source = []
    16 
    1720    bld(features = 'c cprogram test',
    18             lib = 'm',
     21            lib = lib,
    1922            uselib = uselib,
    2023            source = [target_name] + extra_source,
Note: See TracChangeset for help on using the changeset viewer.