Skip to content

Commit 30540b3

Browse files
Add bsdiff
1 parent ae28e45 commit 30540b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/before-pecl.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#!/bin/bash
22

3+
#bsdiff extension
4+
apt-get install bzip2 git -y
5+
git clone https://github.com/monkey-company/phpdiff.git
6+
cd phpdiff
7+
phpize
8+
export LDFLAGS="-lbz2" && ./configure --with-php-config=/php-path/bin/php-config
9+
make && make install
10+
311
#xdiff library
412
cd /usr/src
513
wget http://www.xmailserver.org/libxdiff-0.22.tar.gz

0 commit comments

Comments
 (0)