From 8f649f1586966d02c47e55d8d5b20a5a600a041a Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 3 Mar 2022 10:44:24 +0100 Subject: [PATCH] fix(build): fix linux build Fixes #413 --- ui/StatusQ/sandbox/scripts/build | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ui/StatusQ/sandbox/scripts/build b/ui/StatusQ/sandbox/scripts/build index 956606599e..dcfba7844d 100755 --- a/ui/StatusQ/sandbox/scripts/build +++ b/ui/StatusQ/sandbox/scripts/build @@ -1,4 +1,10 @@ -make clean -qmake sandbox.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all -make +#!/bin/bash +make clean +if [[ $OSTYPE == 'darwin'* ]] +then + qmake sandbox.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all +else + qmake sandbox.pro CONFIG+=debug CONFIG+=x86_64 && /usr/bin/make qmake_all +fi +make \ No newline at end of file