From 9ad682b95f505ada0b15d00bcaddad3c77c5ba01 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 3 Mar 2022 10:44:24 +0100 Subject: [PATCH] fix(@general): fix linux build fixes #413 --- sandbox/scripts/build | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sandbox/scripts/build b/sandbox/scripts/build index 95660659..dcfba784 100755 --- a/sandbox/scripts/build +++ b/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