Changeset 41b985f for src/wscript_build


Ignore:
Timestamp:
Mar 12, 2017, 11:26:24 AM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
bde49c4a
Parents:
71f2e5f (diff), 67b6618 (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 'origin/master' into sampler

Conflicts:

.travis.yml
Makefile
examples/aubionotes.c
examples/parse_args.h
python/demos/demo_timestretch_online.py
python/lib/moresetuptools.py
python/tests/test_source.py
setup.py
src/io/source.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wscript_build

    r71f2e5f r41b985f  
    2929elif ctx.env['DEST_OS'] in ['emscripten']:
    3030    build_features = ['cstlib']
    31 else: #linux, darwin, android, mingw, ...
     31elif '--static' in ctx.env['LDFLAGS'] or '--static' in ctx.env['LINKFLAGS']:
     32    # static in cflags, ...
     33    build_features = ['cstlib']
     34else:
     35    # linux, darwin, android, mingw, ...
    3236    build_features = ['cstlib', 'cshlib']
     37
     38# also install static lib
     39from waflib.Tools.c import cstlib
     40from waflib.Tools.fc import fcstlib
     41fcstlib.inst_to = cstlib.inst_to = '${LIBDIR}'
    3342
    3443for target in build_features:
     
    3948
    4049# install headers, except _priv.h ones
    41 ctx.install_files('${PREFIX}/include/aubio/',
     50ctx.install_files('${INCLUDEDIR}/aubio/',
    4251        ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
    4352        relative_trick=True)
Note: See TracChangeset for help on using the changeset viewer.