From 6544f0585bcb634e3fc7f38d015825ce5c5fed71 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 16 Aug 2023 11:17:02 +0800
Subject: [PATCH] Add pppd build shell script

---
 openssl/build.sh |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/openssl/build.sh b/openssl/build.sh
index 169c9f7..244da93 100755
--- a/openssl/build.sh
+++ b/openssl/build.sh
@@ -155,10 +155,13 @@
 {
 	cd $LIB_NAME
 
-	./Configure threads -shared -no-zlib --prefix=$PREFIX_PATH --openssldir=$PREFIX_PATH linux-armv4
+	do_export
+
+	CROSS_COMPILE=${CROSSTOOL} ./Configure linux-armv4 \
+		threads -shared -no-zlib --prefix=$PREFIX_PATH --openssldir=$PREFIX_PATH
 	check_result "ERROR: configure ${LIB_NAME} failure"
 
-	make && make install
+	make -j ${JOBS} && make install
 	check_result "ERROR: compile ${LIB_NAME} failure"
 }
 
@@ -174,8 +177,6 @@
 fi
 
 do_fetch
-
-do_export
 
 do_build
 

--
Gitblit v1.9.1