From: Paul Brossier Date: Tue, 3 Oct 2017 14:18:24 +0000 (+0200) Subject: scripts/build_mingw: use def file created at build time X-Git-Tag: 0.4.6~3^2 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=a500a392927f97e328e52dc8b8c77187191f7fac;ds=sidebyside scripts/build_mingw: use def file created at build time --- diff --git a/scripts/build_mingw b/scripts/build_mingw index 4f4bb52e..a8e7e4a9 100755 --- a/scripts/build_mingw +++ b/scripts/build_mingw @@ -80,10 +80,7 @@ function build_mingw() { ./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