File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed
Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 1- ## Build
1+ # Build
2+
3+ ## Prerequisites
4+
5+ ### MAC OS X
6+
7+ Install the following tools:
8+
9+ ```
10+ brew install autoconf automake libtool re2c bison libiconv
11+ ```
12+
13+ Add the following to your ` ~/.bash_profile ` or ` ~/.zshrc ` :
14+
15+ ``` sh
16+ export PATH=" $( brew --prefix bison) /bin:$( brew --prefix libiconv) /bin:$PATH "
17+ export LDFLAGS=" $LDFLAGS -L$( brew --prefix bison) /lib -L$( brew --prefix libiconv) /lib"
18+ ```
19+
20+ Create a new shell session to load the new environment variables.
221
322### Building PHP
423
@@ -54,7 +73,7 @@ must be set to adjust the rpath to `$ORIGIN` in the build output.
5473RUSTFLAGS=" -C link-args=-Wl,-rpath,\$ ORIGIN" npm run build
5574```
5675
57- ## Various learnings
76+ # Various learnings
5877
5978### php://input
6079
You can’t perform that action at this time.
0 commit comments