Changeset d41bc4d for src


Ignore:
Timestamp:
Jul 10, 2012, 1:06:11 AM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
dbf47c6
Parents:
f4493f4
Message:

wscript, /wscript_build: use ctx to match latest waf docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wscript_build

    rf4493f4 rd41bc4d  
    33uselib = ['SAMPLERATE']
    44if 'HAVE_FFTW3' in conf.get_env():
    5   source = bld.path.ant_glob('*.c **/*.c', excl = ['**/ooura_fft8g.c'])
     5  source = ctx.path.ant_glob('*.c **/*.c', excl = ['**/ooura_fft8g.c'])
    66  uselib += ['FFTW3', 'FFTW3F']
    77else:
    8   source = bld.path.ant_glob('*.c **/*.c')
     8  source = ctx.path.ant_glob('*.c **/*.c')
    99
    1010# build libaubio
    11 bld.shlib(
     11ctx.shlib(
    1212    includes = ['.'],
    1313    source = source,
     
    1515    lib = 'm',
    1616    uselib = uselib,
    17     vnum = bld.env['LIB_VERSION'])
     17    vnum = ctx.env['LIB_VERSION'])
    1818
    1919# install headers, except _priv.h ones
    20 bld.install_files('${PREFIX}/include/aubio/',
    21         bld.path.ant_glob('**/*.h',
     20ctx.install_files('${PREFIX}/include/aubio/',
     21        ctx.path.ant_glob('**/*.h',
    2222        exclude = ['_priv.h', 'config.h']),
    2323        relative_trick=True)
Note: See TracChangeset for help on using the changeset viewer.