From e08969d04cf798096baee6ab102e9676d8466f22 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 22 Aug 2020 00:48:07 +0800
Subject: [PATCH] update qt5 build shell script to support pack qt and tslib libraries

---
 3rdparty/zbar/build.sh |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/3rdparty/zbar/build.sh b/3rdparty/zbar/build.sh
index 6c6f52c..89c06b3 100755
--- a/3rdparty/zbar/build.sh
+++ b/3rdparty/zbar/build.sh
@@ -65,7 +65,7 @@
 
     set -e
 
-    if [ -f ${PREFIX_PATH}/bin/zbarcam ] ; then
+    if [ -f ${PREFIX_PATH}/lib/libzbar.so ] ; then
         msg_banner "$SRC_NAME already compile and installed"
         return 0;
     fi
@@ -116,6 +116,14 @@
     cd -
 fi
 
+if [ ! -f ${PREFIX_PATH}/lib/libiconv.so ] ; then
+    cd ../iconv
+    ./build.sh
+    cd -
+fi
+
+
+
 compile_zbar
 
 

--
Gitblit v1.9.1