ref: a500a392927f97e328e52dc8b8c77187191f7fac
parent: 236e2a0fe19a56a53249cf0c132d91edab9d3348
author: Paul Brossier <piem@piem.org>
date: Tue Oct 3 12:18:24 EDT 2017
scripts/build_mingw: use def file created at build time
--- a/scripts/build_mingw
+++ b/scripts/build_mingw
@@ -80,10 +80,7 @@
./waf distclean configure build install $WAFOPTS_TGT --testcmd='echo %s'
# fix dll location (see https://github.com/waf-project/waf/issues/1860)
mv $DESTDIR/lib/libaubio-5.dll $DESTDIR/bin
- # generate def file (see https://github.com/aubio/aubio/issues/97)
- ( echo -e "EXPORTS"; $NM $DESTDIR/bin/libaubio-5.dll | grep T\ | \
- egrep "(aubio|fvec|cvec|lvec|fmat)" | sed 's/^.* T _\?//' ) \
- > $DESTDIR/bin/libaubio-5.def
+ mv $DESTDIR/lib/libaubio-5.def $DESTDIR/bin
zip -r $DESTDIR.zip `basename $DESTDIR`
rm -rf $DESTDIR
sha256sum $DESTDIR.zip > $DESTDIR.zip.sha256