summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6de72ce..b1cb254 100644
--- a/README.md
+++ b/README.md
@@ -198,6 +198,13 @@ make && make install
# build mscp with the patched libssh
mv ../.. # mv to mscp dir
mkdir build && cd build
+
+# on ubuntu
cmake .. -DLIBSSH_PATH=$(pwd)/../libssh-installed -DWITH_ASYNC_WRITE=1
+
+# on macOS (intel)
+cmake .. -DLIBSSH_PATH=$(pwd)/../libssh-installed -DWITH_ASYNC_WRITE=1 \
+ -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
+
make
```