Changeset 6709422 for scripts


Ignore:
Timestamp:
Apr 7, 2017, 3:44:31 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:
d609841
Parents:
5b44a26
Message:

scripts/build_mingw: fix dll location, generate def file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/build_mingw

    r5b44a26 r6709422  
    7979  CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
    8080    ./waf distclean configure build install $WAFOPTS_TGT --testcmd='echo %s'
     81  # fix dll location (see https://github.com/waf-project/waf/issues/1860)
     82  mv $DESTDIR/lib/libaubio-5.dll $DESTDIR/bin
     83  # 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- ) \
     86    > $DESTDIR/bin/libaubio-5.def
    8187  zip -r $DESTDIR.zip `basename $DESTDIR`
    8288  rm -rf $DESTDIR
Note: See TracChangeset for help on using the changeset viewer.