From 4bfbd906a84357d051fce964663c94667e38df12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Anthony=20L=C3=A9onard?=
 <anthony.leonard@savoirfairelinux.com>
Date: Wed, 12 Oct 2016 16:07:34 -0400
Subject: [PATCH] build: fixed build directories for WinSparkle and qrencode.

Change-Id: I632b1bbd683d6301e12544d90f30d2bc55d169ea
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
---
 scripts/win_compile.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/win_compile.sh b/scripts/win_compile.sh
index 5ac4377e..d56285e1 100755
--- a/scripts/win_compile.sh
+++ b/scripts/win_compile.sh
@@ -51,7 +51,7 @@ cd $rootdir
 
 cd client-windows
 git submodule update --init
-if [ ! -f "../daemon/_win32/bin/WinSparkle.dll" ]
+if [ ! -f "../daemon/_win${ARCH}/bin/WinSparkle.dll" ]
 then
 cd winsparkle
 git submodule init && git submodule update
@@ -61,7 +61,7 @@ make -j4 || exit 1
 make install
 cd ../../
 fi
-if [ ! -f "../daemon/_win32/bin/libqrencode.dll" ]
+if [ ! -f "../daemon/_win${ARCH}/bin/libqrencode.dll" ]
 then
 cd libqrencode
 ./autogen.sh || exit 1
-- 
GitLab