update README

This commit is contained in:
Max Lv
2013-10-27 10:30:37 +08:00
parent 4af2a7f6fe
commit e0313934b5
+9 -9
View File
@@ -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