Changes in / [19f222d:2525f81]


Ignore:
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • src/aubio.h

    r19f222d r2525f81  
    185185#include "io/source.h"
    186186#include "io/sink.h"
     187#include "io/audio_unit.h"
    187188#include "synth/sampler.h"
    188189
  • src/wscript_build

    r19f222d r2525f81  
    1616# build libaubio
    1717from waflib import Options
    18 if Options.platform == 'ios': build_lib_func = ctx.stlib
    19 else: build_lib_func = ctx.shlib
     18if Options.platform == 'ios':
     19    build_lib_func = ctx.stlib
     20else:
     21    build_lib_func = ctx.shlib
     22
    2023build_lib_func(
    2124    includes = ['.'],
     
    2427    lib = 'm',
    2528    uselib = uselib,
     29    install_path = '${PREFIX}/lib',
    2630    vnum = ctx.env['LIB_VERSION'])
    2731
    2832# install headers, except _priv.h ones
    2933ctx.install_files('${PREFIX}/include/aubio/',
    30 
    3134    ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
    3235    relative_trick=True)
  • wscript

    r19f222d r2525f81  
    7878    ctx.env.LD = 'clang'
    7979    ctx.env.LINK_CC = 'clang'
     80    ctx.define('TARGET_OS_IPHONE', 1)
    8081    SDKVER="6.1"
    8182    DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer"
    8283    SDKROOT="%(DEVROOT)s/SDKs/iPhoneOS%(SDKVER)s.sdk" % locals()
    8384    ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox']
    84     ctx.env.CFLAGS += [ '-miphoneos-version-min=6.1', '-arch', 'armv7',
     85    ctx.env.CFLAGS += [ '-miphoneos-version-min=6.1', '-arch', 'armv7', '-arch', 'armv7s',
    8586            '--sysroot=%s' % SDKROOT]
    86     ctx.env.LINKFLAGS += ['-std=c99', '-arch', 'armv7', '--sysroot=%s' %
     87    ctx.env.LINKFLAGS += ['-std=c99', '-arch', 'armv7', '-arch', 'armv7s', '--sysroot=%s' %
    8788            SDKROOT]
    8889
Note: See TracChangeset for help on using the changeset viewer.