mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
Refine build script
This commit is contained in:
parent
6dc3d85ded
commit
0a09b53fc1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
# https://stackoverflow.com/questions/15539062/cross-compiling-of-openssl-for-linux-arm-v5te-linux-gnueabi-toolchain
|
||||||
if [[ $SRS_CROSS_BUILD == YES ]]; then
|
if [[ $SRS_CROSS_BUILD == YES ]]; then
|
||||||
OPENSSL_CONFIG="./Configure linux-armv4"
|
OPENSSL_CONFIG="./Configure linux-armv4"
|
||||||
else
|
elif [[ ! -f ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib/libssl.a ]]; then
|
||||||
# Try to use exists libraries.
|
# Try to use exists libraries.
|
||||||
if [[ -f /usr/local/ssl/lib/libssl.a ]]; then
|
if [[ -f /usr/local/ssl/lib/libssl.a ]]; then
|
||||||
(mkdir -p ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib && cd ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib &&
|
(mkdir -p ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib && cd ${SRS_OBJS}/${SRS_PLATFORM}/openssl/lib &&
|
||||||
|
|
Loading…
Reference in a new issue