Skip to content

Commit

Permalink
Update libssh2 and openssl dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <2014500726@smail.xtu.edu.cn>
  • Loading branch information
QQxiaoming committed Nov 22, 2023
1 parent 9fd0520 commit ea35dd2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion depend/build_libssh2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@
set -e

SHELL_FOLDER=$(cd "$(dirname "$0")";pwd)

cd $SHELL_FOLDER
tar -xzvf openssl-3.1.4.tar.gz
cd $SHELL_FOLDER/openssl-3.1.4
./config --prefix=$SHELL_FOLDER/output --openssldir=$SHELL_FOLDER/output
make -j16
make install
rm -rf $SHELL_FOLDER/openssl-3.1.4

cd $SHELL_FOLDER
tar -xzvf libssh2-1.11.0.tar.gz
cd $SHELL_FOLDER/libssh2-1.11.0
./configure --prefix=$SHELL_FOLDER/output --enable-shared --disable-static --without-openssl --without-libz
./configure --prefix=$SHELL_FOLDER/output --enable-shared --disable-static --without-libz --with-openssl --with-libssl-prefix=$SHELL_FOLDER/output
make -j16
make install
rm -rf $SHELL_FOLDER/libssh2-1.11.0
Binary file added depend/openssl-3.1.4.tar.gz
Binary file not shown.

0 comments on commit ea35dd2

Please sign in to comment.