diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-09-15 00:48:33 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-09-25 12:33:43 +0200 |
commit | b84dbb2d754f3e2b16aef44e0ee295eab4e51d5c (patch) | |
tree | ed7ed947d6b026923890788b0921b8a80426a1e1 | |
parent | 436d0437a9bbc26ba71308f1f3930a4f6c77fa25 (diff) |
[pkg] allow to pass qmake path
-rwxr-xr-x | build.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -18,7 +18,10 @@ then PATH="`pwd`/../mxe/usr/bin"/:$PATH CC=x86_64-w64-mingw32.static-gcc else - QMAKE=`which qmake` + if [ "$QMAKE" == "" ] + then + QMAKE=`which qmake` + fi fi @@ -44,7 +47,7 @@ function buildGoLib { function buildQmake { echo "[+] Now building Qml app with Qt qmake" - echo ">> using qmake:" $QMAKE + echo "[+] Using qmake in:" $QMAKE mkdir -p qtbuild $QMAKE -o qtbuild/Makefile "CONFIG-=debug CONFIG+=release" $PROJECT } |