opensslwrap.sh

来自「mediastreamer2是开源的网络传输媒体流的库」· Shell 代码 · 共 23 行

SH
23
字号
#!/bin/shHERE="`echo $0 | sed -e 's|[^/]*$||'`"OPENSSL="${HERE}../apps/openssl"if [ -x "${OPENSSL}.exe" ]; then	# The original reason for this script existence is to work around	# certain caveats in run-time linker behaviour. On Windows platforms	# adjusting $PATH used to be sufficient, but with introduction of	# SafeDllSearchMode in XP/2003 the only way to get it right in	# *all* possible situations is to copy newly built .DLLs to apps/	# and test/, which is now done elsewhere... The $PATH is adjusted	# for backward compatibility (and nostagical reasons:-).	if [ "$OSTYPE" != msdosdjgpp ]; then		PATH="${HERE}..:$PATH"; export PATH	fi	exec "${OPENSSL}.exe" "$@"elif [ -x "${OPENSSL}" -a -x "${HERE}shlib_wrap.sh" ]; then	exec "${HERE}shlib_wrap.sh" "${OPENSSL}" "$@"else	exec "${OPENSSL}" "$@"	# hope for the best...fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?