Changeset 06dba46 for wscript


Ignore:
Timestamp:
Dec 10, 2013, 2:39:47 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
df5eab4
Parents:
a7343ffe
Message:

wscript: small tweaks to with mingw32

Signed-off-by: Paul Brossier <piem@piem.org>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    ra7343ffe r06dba46  
    8585    ctx.load('waf_unit_test')
    8686    ctx.load('gnu_dirs')
    87     ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra', '-fPIC']
     87
     88    ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
    8889
    8990    target_platform = Options.platform
     
    9293    ctx.env['DEST_OS'] = target_platform
    9394
    94     if target_platform == 'win32':
    95         ctx.env['shlib_PATTERN'] = 'lib%s.dll'
     95    if target_platform not in ['win32', 'win64']:
     96        ctx.env.CFLAGS += ['-fPIC']
     97    else:
     98        ctx.define('HAVE_WIN_HACKS', 1)
     99        ctx.env['cshlib_PATTERN'] = 'lib%s.dll'
    96100
    97101    if target_platform == 'darwin':
Note: See TracChangeset for help on using the changeset viewer.