mirror of
https://github.com/upa/mscp.git
synced 2026-05-12 21:07:29 +08:00
fix typo
This commit is contained in:
@@ -181,16 +181,15 @@ sudo apt install libkrb5-dev
|
|||||||
git clone https://github.com/upa/mscp -b async-write
|
git clone https://github.com/upa/mscp -b async-write
|
||||||
cd mscp
|
cd mscp
|
||||||
|
|
||||||
# build pathched libssh
|
# build patched libssh
|
||||||
git clone https://git.libssh.org/projects/libssh.git/ --depth=10 -b libssh-0.10.4
|
git clone https://git.libssh.org/projects/libssh.git/ --depth=10 -b libssh-0.10.4
|
||||||
cd libssh && git apply ../patch/libssh-0.10.4.patch
|
cd libssh && git apply ../patch/libssh-0.10.4.patch
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=../../libssh-installed
|
cmake .. -DCMAKE_INSTALL_PREFIX=../../libssh-installed
|
||||||
make && make install
|
make && make install
|
||||||
|
|
||||||
# build mscp with patched libssh
|
# build mscp with the patched libssh
|
||||||
# mv to mscp dir
|
mv ../.. # mv to mscp dir
|
||||||
mv ../..
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake .. -DLIBSSH_PATH=$(pwd)/../libssh-installed -DWITH_ASYNC_WRITE=1
|
cmake .. -DLIBSSH_PATH=$(pwd)/../libssh-installed -DWITH_ASYNC_WRITE=1
|
||||||
make
|
make
|
||||||
|
|||||||
Reference in New Issue
Block a user