Changeset 633400d for src/wscript_build


Ignore:
Timestamp:
Dec 5, 2018, 10:34:39 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
283a619a
Parents:
5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into feature/pitchshift

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wscript_build

    r5b46bc3 r633400d  
    44uselib += ['M']
    55uselib += ['FFTW3', 'FFTW3F']
     6uselib += ['INTEL_IPP']
    67uselib += ['SAMPLERATE']
    78uselib += ['SNDFILE']
     
    910uselib += ['AVCODEC']
    1011uselib += ['AVFORMAT']
     12uselib += ['SWRESAMPLE']
    1113uselib += ['AVRESAMPLE']
    1214uselib += ['AVUTIL']
     
    2527    build_features = ['cstlib', 'cshlib']
    2628elif ctx.env['DEST_OS'] in ['win32', 'win64']:
     29    build_features = ['cstlib', 'cshlib gensyms']
     30elif ctx.env['DEST_OS'] in ['emscripten']:
     31    build_features = ['cstlib','cshlib']
     32elif '--static' in ctx.env['LDFLAGS'] or '--static' in ctx.env['LINKFLAGS']:
     33    # static in cflags, ...
     34    build_features = ['cstlib']
     35else:
     36    # linux, darwin, android, mingw, ...
    2737    build_features = ['cstlib', 'cshlib']
    28 elif ctx.env['DEST_OS'] in ['emscripten']:
    29     build_features = ['cstlib']
    30 else: #linux, darwin, android, mingw, ...
    31     build_features = ['cstlib', 'cshlib']
     38
     39# also install static lib
     40from waflib.Tools.c import cstlib
     41cstlib.inst_to = '${LIBDIR}'
    3242
    3343for target in build_features:
     
    3545            use = uselib + ['lib_objects'],
    3646            target = 'aubio',
     47            export_symbols_regex=r'(?:.*aubio|fvec|lvec|cvec|fmat|new|del)_.*',
    3748            vnum = ctx.env['LIB_VERSION'])
    3849
    3950# install headers, except _priv.h ones
    40 ctx.install_files('${PREFIX}/include/aubio/',
     51ctx.install_files('${INCLUDEDIR}/aubio/',
    4152        ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
    4253        relative_trick=True)
Note: See TracChangeset for help on using the changeset viewer.