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.
2
21
3
22
### Building PHP
4
23
@@ -54,7 +73,7 @@ must be set to adjust the rpath to `$ORIGIN` in the build output.
54
73
RUSTFLAGS=" -C link-args=-Wl,-rpath,\$ ORIGIN" npm run build
55
74
```
56
75
57
- ## Various learnings
76
+ # Various learnings
58
77
59
78
### php://input
60
79
You can’t perform that action at this time.
0 commit comments