mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-30 22:13:49 +00:00
update README
This commit is contained in:
@@ -70,9 +70,9 @@ For Unix-like systems, especially Debian-based systems,
|
||||
e.g. Ubuntu, Debian or Linux Mint, you can build the binary like this:
|
||||
|
||||
```bash
|
||||
sudo apt-get install build-essential autoconf libtool libssl-dev
|
||||
./configure && make
|
||||
sudo make install
|
||||
sudo apt-get install build-essential autoconf libtool libssl-dev
|
||||
./configure && make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
### FreeBSD
|
||||
@@ -133,18 +133,18 @@ If you are using MinGW (msys), please download OpenSSL source tarball
|
||||
to the home directory of msys, and build it like this (may take a few minutes):
|
||||
|
||||
```bash
|
||||
tar zxf openssl-1.0.1e.tar.gz
|
||||
cd openssl-1.0.1e
|
||||
./config --prefix="$HOME/prebuilt" --openssldir="$HOME/prebuilt/openssl"
|
||||
make && make install
|
||||
tar zxf openssl-1.0.1e.tar.gz
|
||||
cd openssl-1.0.1e
|
||||
./config --prefix="$HOME/prebuilt" --openssldir="$HOME/prebuilt/openssl"
|
||||
make && make install
|
||||
```
|
||||
|
||||
Then, build the binary using the commands below, and all `.exe` files
|
||||
will be built at `$HOME/ss/bin`:
|
||||
|
||||
```bash
|
||||
./configure --prefix="$HOME/ss" --with-openssl="$HOME/prebuilt"
|
||||
make && make install
|
||||
./configure --prefix="$HOME/ss" --with-openssl="$HOME/prebuilt"
|
||||
make && make install
|
||||
```
|
||||
|
||||
Usage
|
||||
|
||||
Reference in New Issue
Block a user