Changeset b201912 for scripts/build_mingw
- Timestamp:
- Apr 11, 2017, 1:49:44 AM (8 years ago)
- Branches:
- sampler
- Children:
- 04d0c89
- Parents:
- fbafd2c (diff), b762f8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/build_mingw
rfbafd2c rb201912 11 11 set -x 12 12 13 source VERSION 14 VERSION="$AUBIO_MAJOR_VERSION.$AUBIO_MINOR_VERSION.$AUBIO_PATCH_VERSION" 15 VERSION+="$AUBIO_VERSION_STATUS" 13 python this_version.py -v 14 VERSION=`python $PWD/this_version.py -v` 16 15 17 16 FFMPEG_BUILDS_URL="https://ffmpeg.zeranoe.com/builds" 18 FFMPEG_DEFAULT="20170 315-6c4665d"17 FFMPEG_DEFAULT="20170404-1229007" 19 18 20 19 # define some default CFLAGS … … 80 79 CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ 81 80 ./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)" | sed 's/^.* T _\?//' ) \ 86 > $DESTDIR/bin/libaubio-5.def 82 87 zip -r $DESTDIR.zip `basename $DESTDIR` 83 88 rm -rf $DESTDIR … … 88 93 TARGET=win32 89 94 export CC=i686-w64-mingw32-gcc 95 export NM=i686-w64-mingw32-nm 90 96 build_mingw 91 97 } … … 94 100 TARGET=win64 95 101 export CC=x86_64-w64-mingw32-gcc 102 export NM=x86_64-w64-mingw32-nm 96 103 build_mingw 97 104 }
Note: See TracChangeset
for help on using the changeset viewer.