From 91eb15abeb20457b93b86c4cfb3d653e206c27c9 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 21 Aug 2020 21:19:32 +0800
Subject: [PATCH] update openssl and hostapd_supplicant build shell script

---
 3rdparty/imageMagick/build.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/3rdparty/imageMagick/build.sh b/3rdparty/imageMagick/build.sh
index 128a1fa..4f6b1cb 100755
--- a/3rdparty/imageMagick/build.sh
+++ b/3rdparty/imageMagick/build.sh
@@ -7,7 +7,10 @@
 #|           1, Initialize 1.0.0 on 2011.04.12
 #+--------------------------------------------------------------------------------------------
 
+JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
+
 PREFIX_PATH=`pwd`/../install/
+mkdir -p ${PREFIX_PATH}/{bin,sbin,include,lib}
 
 LYFTP_SRC=ftp://master.iot-yun.club/src/
 
@@ -83,7 +86,7 @@
 
     check_result "ERROR: configure ${SRC_NAME} failure"
 
-    make && make install
+    make -j${JOBS} && make install
 #    check_result "ERROR: compile ${SRC_NAME} failure"
 
     cd -

--
Gitblit v1.9.1