From 0a09b53fc1eaa467219c8a2d7c45602b4040ce38 Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 23 Oct 2020 21:35:46 +0800 Subject: [PATCH] Refine build script --- trunk/auto/depends.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 4c3e642cd..56117c11c 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -445,7 +445,7 @@ if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL != YES ]]; then # https://stackoverflow.com/questions/15539062/cross-compiling-of-openssl-for-linux-arm-v5te-linux-gnueabi-toolchain if [[ $SRS_CROSS_BUILD == YES ]]; then OPENSSL_CONFIG="./Configure linux-armv4" - else + elif [[ ! -f ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib/libssl.a ]]; then # Try to use exists libraries. if [[ -f /usr/local/ssl/lib/libssl.a ]]; then (mkdir -p ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib && cd ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib &&