Changeset 6d7d52c


Ignore:
Timestamp:
Apr 23, 2016, 12:34:13 AM (4 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:
a9ec06f
Parents:
58cffee
Message:

src/wscript_build: only no -lm if compiler is CL.exe

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/wscript_build

    r58cffee r6d7d52c  
    1313# build each source files
    1414source = ctx.path.ant_glob('*.c **/*.c')
    15 lib = 'm' if ctx.env['DEST_OS'] not in ['win32', 'win64'] else None
     15lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None
    1616ctx(features = 'c',
    1717        source = source,
  • tests/wscript_build

    r58cffee r6d7d52c  
    11# vim:set syntax=python:
    22
    3 lib = 'm' if ctx.env['DEST_OS'] not in ['win32', 'win64'] else None
     3lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None
    44
    55uselib = []
Note: See TracChangeset for help on using the changeset viewer.