# HG changeset patch # User Paul Brossier # Date 1469206376 -7200 # Node ID 891a8bb7eb56e1604b72bc1638dd71638f30f232 # Parent e20eb5ee1731e180809abb30a9bc72bd40249d0b .appveyor.yml: use patch to pass correct flags to aubio/waf on windows diff -r e20eb5ee1731 -r 891a8bb7eb56 .appveyor.yml --- a/.appveyor.yml Fri Jul 22 18:29:59 2016 +0200 +++ b/.appveyor.yml Fri Jul 22 18:52:56 2016 +0200 @@ -6,6 +6,7 @@ build_script: - sh scripts/get_waf.sh + - patch -p1 < scripts/aubio_waf_msvc.patch - sh scripts/get_aubio.sh - sh scripts/get_deps_msvc.sh - python waf configure diff -r e20eb5ee1731 -r 891a8bb7eb56 scripts/aubio_waf_msvc.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/aubio_waf_msvc.patch Fri Jul 22 18:52:56 2016 +0200 @@ -0,0 +1,13 @@ +diff --git a/scripts/get_aubio.sh b/scripts/get_aubio.sh +index d3a5a71..9cd413c 100755 +--- a/scripts/get_aubio.sh ++++ b/scripts/get_aubio.sh +@@ -11,7 +11,7 @@ git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd + pushd aubio + ./scripts/get_waf.sh + #./waf distclean +-./waf configure --prefix=$PWD/../aubio-dist $WAFOPTS ++./waf configure --prefix=$PWD/../aubio-dist --msvc_version='msvc 12.0' --msvc_target='x86' + ./waf build -v + ./waf install -v + popd