Changeset 7fd1831


Ignore:
Timestamp:
Nov 21, 2013, 8:09:53 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
fda4fd7
Parents:
f6ee160
Message:

src/wscript_build: really build both targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wscript_build

    rf6ee160 r7fd1831  
    1818# build libaubio.so (cshlib) and/or libaubio.a (cstlib)
    1919if ctx.env['DEST_OS'] in ['ios', 'iosimulator']:
    20     build_features = ['c', 'cstlib']
     20    build_features = ['cstlib']
    2121else: #linux, darwin, android, mingw, ...
    22     build_features = ['c', 'cshlib', 'cstlib']
     22    build_features = ['cshlib', 'cstlib']
    2323
    24 ctx(features = build_features,
    25     use = ['lib_objects'], #source = source,
    26     target = 'aubio',
    27     install_path = '${PREFIX}/lib',
    28     vnum = ctx.env['LIB_VERSION'])
     24for target in build_features:
     25  ctx(features = 'c ' + target,
     26      use = ['lib_objects'], #source = source,
     27      target = 'aubio',
     28      install_path = '${PREFIX}/lib',
     29      vnum = ctx.env['LIB_VERSION'])
    2930
    3031# install headers, except _priv.h ones
Note: See TracChangeset for help on using the changeset viewer.