Changes in / [b8389de:c059581]
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/aubio.h
rb8389de rc059581 185 185 #include "io/source.h" 186 186 #include "io/sink.h" 187 #include "io/audio_unit.h" 187 188 #include "synth/sampler.h" 188 189 -
src/wscript_build
rb8389de rc059581 16 16 # build libaubio 17 17 from waflib import Options 18 if Options.platform == 'ios': build_lib_func = ctx.stlib 19 else: build_lib_func = ctx.shlib 18 if Options.platform == 'ios': 19 build_lib_func = ctx.stlib 20 else: 21 build_lib_func = ctx.shlib 22 20 23 build_lib_func( 21 24 includes = ['.'], … … 24 27 lib = 'm', 25 28 uselib = uselib, 29 install_path = '${PREFIX}/lib', 26 30 vnum = ctx.env['LIB_VERSION']) 27 31 28 32 # install headers, except _priv.h ones 29 33 ctx.install_files('${PREFIX}/include/aubio/', 30 31 34 ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), 32 35 relative_trick=True) -
wscript
rb8389de rc059581 78 78 ctx.env.LD = 'clang' 79 79 ctx.env.LINK_CC = 'clang' 80 ctx.define('TARGET_OS_IPHONE', 1) 80 81 SDKVER="6.1" 81 82 DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer" 82 83 SDKROOT="%(DEVROOT)s/SDKs/iPhoneOS%(SDKVER)s.sdk" % locals() 83 84 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', 85 86 '--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' % 87 88 SDKROOT] 88 89
Note: See TracChangeset
for help on using the changeset viewer.