From a9db888d1c324e11beaa88706778175af8401d3b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 22 Jul 2016 18:52:56 +0200 Subject: [PATCH] .appveyor.yml: use patch to pass correct flags to aubio/waf on windows --- .appveyor.yml | 1 + scripts/aubio_waf_msvc.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 scripts/aubio_waf_msvc.patch diff --git a/.appveyor.yml b/.appveyor.yml index 41f7de4..69eed79 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -6,6 +6,7 @@ platform: 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 --git a/scripts/aubio_waf_msvc.patch b/scripts/aubio_waf_msvc.patch new file mode 100644 index 0000000..ebf71be --- /dev/null +++ b/scripts/aubio_waf_msvc.patch @@ -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 -- 2.11.0