Ignore:
Timestamp:
Apr 7, 2017, 4:05:23 PM (8 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, sampler
Children:
2111793
Parents:
d609841
Message:

scripts/build_mingw: generate .def file (closes #97)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/build_mingw

    rd609841 r8122581d  
    8282  mv $DESTDIR/lib/libaubio-5.dll $DESTDIR/bin
    8383  # generate def file (see https://github.com/aubio/aubio/issues/97)
    84   ( echo -e "EXPORTS"; nm $DESTDIR/bin/libaubio-5.dll | grep T\ _ | \
    85     egrep "(aubio|fvec|cvec|lvec|fmat)" | cut -d _ -f 2- ) \
     84  ( echo -e "EXPORTS"; $NM $DESTDIR/bin/libaubio-5.dll | grep T\ | \
     85    egrep "(aubio|fvec|cvec|lvec|fmat)" | sed 's/^.* T _\?//' ) \
    8686    > $DESTDIR/bin/libaubio-5.def
    8787  zip -r $DESTDIR.zip `basename $DESTDIR`
     
    9393  TARGET=win32
    9494  export CC=i686-w64-mingw32-gcc
     95  export NM=i686-w64-mingw32-nm
    9596  build_mingw
    9697}
     
    99100  TARGET=win64
    100101  export CC=x86_64-w64-mingw32-gcc
     102  export NM=x86_64-w64-mingw32-nm
    101103  build_mingw
    102104}
Note: See TracChangeset for help on using the changeset viewer.