Changeset 331249b for wscript


Ignore:
Timestamp:
Aug 24, 2014, 7:24:07 PM (10 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:
6716024
Parents:
450b4b4
git-author:
Paul Brossier <piem@piem.org> (03/27/14 19:56:11)
git-committer:
Paul Brossier <piem@piem.org> (08/24/14 19:24:07)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r450b4b4 r331249b  
    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.