From f7dd2cbdfe53fd1ff24776ea7a22d8122f686edd Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 17 Aug 2023 17:51:18 +0800
Subject: [PATCH] Update build shell script to support static library
---
openssl/build.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/openssl/build.sh b/openssl/build.sh
index 79ee216..244da93 100755
--- a/openssl/build.sh
+++ b/openssl/build.sh
@@ -157,10 +157,11 @@
do_export
- ./Configure threads -shared -no-zlib --prefix=$PREFIX_PATH --openssldir=$PREFIX_PATH linux-armv4
+ 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"
}
--
Gitblit v1.9.1