From 114b1d238aa55fab641cf89bc2e8df2a1a23f307 Mon Sep 17 00:00:00 2001
From: Aleksandr Vodianov <aleksandr.vodianov@demlabs.net>
Date: Sat, 25 Sep 2021 12:18:49 +0300
Subject: [PATCH] add logs

---
 windows/scripts/compile.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/windows/scripts/compile.sh b/windows/scripts/compile.sh
index d6c3e89..775d81f 100755
--- a/windows/scripts/compile.sh
+++ b/windows/scripts/compile.sh
@@ -1,5 +1,7 @@
 DESTDIR=$1
 wd=$2
+export PATH=$WINDOWS_TOOLCHAIN_PATH/usr/bin:$PATH
 
 cd $wd && mkdir build && cd build && \
-x86_64-w64-mingw32.static-cmake .. && make && make install DESTDIR=$DESTDIR || echo "error $?" && exit $?
+x86_64-w64-mingw32.static-cmake .. && make -j$(nproc) || echo "$PATH error $?" && exit $?
+
-- 
GitLab