From 5f20547d454eda23ad5db4900a48bc28747d1359 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 11 Aug 2019 11:18:05 +0800
Subject: [PATCH] update build shell script to format

---
 3rdparty/qt/build_QT5.sh |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/3rdparty/qt/build_QT5.sh b/3rdparty/qt/build_QT5.sh
index fd3cef8..e25d7b7 100755
--- a/3rdparty/qt/build_QT5.sh
+++ b/3rdparty/qt/build_QT5.sh
@@ -18,9 +18,10 @@
 
 QT_INST_PATH=/apps/QT5.9_A8
 
+LYFTP_SRC=ftp://master.iot-yun.club/src/
+
 CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
 
-LYFTP_SRC=ftp://master.iot-yun.club/src/
 
 function msg_banner()
 {
@@ -93,11 +94,14 @@
     cd -
 }
 
-cd tslib
-  ./build.sh
-cd -
 
-cd iconv
+if [ ! -f ${LIBS_PATH}/lib/libiconv.so ] ; then
+    cd ../iconv
+        ./build.sh 
+    cd -
+fi
+
+cd tslib
   ./build.sh
 cd -
 

--
Gitblit v1.9.1