Skip to content

Commit 79f65a5

Browse files
committed
update PECL installation instructions
1 parent 800c564 commit 79f65a5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ For more information, visit his website at <http://www.daemonology.net/bsdiff/>.
2323

2424
```bash
2525
pecl install bsdiff
26+
27+
# or, if you want to install it without the prompts (i.e., using default installation option(s)):
28+
yes '' | pecl install bsdiff
2629
```
2730

28-
In case BZip2 can't be found automatically, use option `--with-bz2` to specify the installation directory of BZip2. e.g.,
31+
In case BZip2 can't be found automatically, use option `with-bz2` to specify the installation directory of BZip2. e.g.,
2932

3033
```bash
31-
pecl install -D 'with-bz2="/usr/local/opt/bzip2"'
34+
pecl install -D 'with-bz2="/usr/local/opt/bzip2"' bsdiff # If BZip2 is installed via Homebrew on MacOS.
3235
```
3336

3437
## Manual Installation
@@ -50,7 +53,7 @@ extension=bsdiff.so
5053
In case BZip2 can't be found automatically, use option `--with-bz2` to specify the installation directory of BZip2. e.g.,
5154

5255
```bash
53-
./configure --with-bz2=/usr/local/opt/bzip2 # When BZip2 is installed via Homebrew on MacOS.
56+
./configure --with-bz2=/usr/local/opt/bzip2 # If BZip2 is installed via Homebrew on MacOS.
5457
```
5558

5659
## Usage

0 commit comments

Comments
 (0)