projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
236e2a0
)
scripts/build_mingw: use def file created at build time
author
Paul Brossier
<piem@piem.org>
Tue, 3 Oct 2017 14:18:24 +0000
(16:18 +0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 3 Oct 2017 14:18:24 +0000
(16:18 +0200)
scripts/build_mingw
patch
|
blob
|
history
diff --git
a/scripts/build_mingw
b/scripts/build_mingw
index
4f4bb52
..
a8e7e4a
100755
(executable)
--- 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
./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
zip -r $DESTDIR.zip `basename $DESTDIR`
rm -rf $DESTDIR
sha256sum $DESTDIR.zip > $DESTDIR.zip.sha256