Skip to content

Commit 07dd33f

Browse files
Optimize the depend.sh script to solve the issue of lack of permission during openssl compilation.
1 parent 7f997b3 commit 07dd33f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trunk/auto/depends.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL != YES ]]; then
463463
${OPENSSL_UNZIP} &&
464464
(
465465
cd ${SRS_OBJS}/${SRS_PLATFORM}/${OPENSSL_CANDIDATE} &&
466+
chmod +x ${OPENSSL_CONFIG} &&
466467
${OPENSSL_CONFIG} --prefix=${SRS_DEPENDS_LIBS}/${SRS_PLATFORM}/3rdpatry/openssl $OPENSSL_OPTIONS
467468
) &&
468469
make -C ${SRS_OBJS}/${SRS_PLATFORM}/${OPENSSL_CANDIDATE} CC=${SRS_TOOL_CC} AR="${OPENSSL_AR}" \

0 commit comments

Comments
 (0)