Changeset 9209c79 for wscript


Ignore:
Timestamp:
Mar 27, 2014, 7:56:11 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:
4a17757
Parents:
dba9b33
Message:

wscript, src/io/*.c: use custom defines instead of APPLE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rdba9b33 r9209c79  
    106106        ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
    107107        ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
     108
     109    if target_platform in [ 'darwin', 'ios', 'iosimulator']:
    108110        ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox', 'Accelerate']
     111        ctx.define('HAVE_SOURCE_APPLE_AUDIO', 1)
     112        ctx.define('HAVE_SINK_APPLE_AUDIO', 1)
    109113        ctx.define('HAVE_ACCELERATE', 1)
    110114
    111115    if target_platform in [ 'ios', 'iosimulator' ]:
    112         ctx.define('HAVE_ACCELERATE', 1)
    113116        ctx.define('TARGET_OS_IPHONE', 1)
    114         ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox', 'Accelerate']
    115117        SDKVER="7.0"
    116118        MINSDKVER="6.1"
Note: See TracChangeset for help on using the changeset viewer.