Update openssl.sh
This commit is contained in:
parent
f3006b55b3
commit
ec79bfc93b
|
|
@ -54,7 +54,7 @@ Install_lib()
|
|||
BREW_DIR=`which brew`
|
||||
BREW_DIR=${BREW_DIR/\/bin\/brew/}
|
||||
|
||||
LIB_DEPEND_DIR=`brew info openssl@1.1 | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'`
|
||||
LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl | cut -d \ -f 1 | awk 'END {print}'`
|
||||
export PKG_CONFIG_PATH=$LIB_DEPEND_DIR/lib/pkgconfig
|
||||
fi
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ Install_lib()
|
|||
# otool -L /Users/midoks/Desktop/mwdev/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/openssl.so
|
||||
# ldd /www/server/php/83/bin/php
|
||||
|
||||
if [ "$version" -lt "83" ] && [ "$sysName" == "Darwin" ];then
|
||||
if [ "$version" -lt "84" ] && [ "$sysName" == "Darwin" ];then
|
||||
BREW_DIR=`which brew`
|
||||
BREW_DIR=${BREW_DIR/\/bin\/brew/}
|
||||
LIB_DEPEND_DIR=`brew info openssl@1.0 | grep ${BREW_DIR}/Cellar/openssl@1.0 | cut -d \ -f 1 | awk 'END {print}'`
|
||||
|
|
|
|||
Loading…
Reference in New Issue