From b7fbb4ab45c57e391db0a9b93317959e3e59d44e Mon Sep 17 00:00:00 2001 From: novist Date: Thu, 19 Feb 2015 17:49:58 +0200 Subject: [PATCH] Updated windows/bootstrap.sh to build filter_audio using Makefile --- windows/bootstrap.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/windows/bootstrap.sh b/windows/bootstrap.sh index f67effa12..2394d526b 100644 --- a/windows/bootstrap.sh +++ b/windows/bootstrap.sh @@ -28,9 +28,20 @@ if [ ! -d "include/tox" ]; then $QTOX_DIR/tools/unzip -o libtoxcore-win32-i686.zip -d ./ fi + ## filter_audio +if [ ! -d $QTOX_DIR/libs/filter_audio ]; then + git clone https://github.com/irungentoo/filter_audio.git $QTOX_DIR/libs/filter_audio +else + pushd $QTOX_DIR/libs/filter_audio + git pull + popd +fi + if [ ! -f "bin/libfilteraudio.dll" ]; then - $QTOX_DIR/install_libfilteraudio.sh $QTOX_DIR/libs/filter_audio $QTOX_DIR/libs + pushd $QTOX_DIR/libs/filter_audio + PREFIX="$QTOX_DIR/libs" CC="gcc.exe" make install + popd fi