Skip to content

Commit

Permalink
Update build_libssh2.sh configuration
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 ea35dd2 commit a581937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions depend/build_libssh2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ 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
./config --prefix=$SHELL_FOLDER/output --openssldir=$SHELL_FOLDER/output no-threads no-static
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-libz --with-openssl --with-libssl-prefix=$SHELL_FOLDER/output
./configure --prefix=$SHELL_FOLDER/output --enable-shared --disable-static --without-libz --with-openssl=$SHELL_FOLDER/output
make -j16
make install
rm -rf $SHELL_FOLDER/libssh2-1.11.0

0 comments on commit a581937

Please sign in to comment.